summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-10-15 02:11:00 -0400
committermidipix <writeonce@midipix.org>2018-10-15 02:30:18 -0400
commit0cbb204d98d8c0425abc7a228f7d951b45b78544 (patch)
treecc533a349323f1a0e18ce13892062ef7fe118164 /src/internal
parent208722bdaa2a0524450dac6d683cd20bd098fdbd (diff)
downloadslibtool-0cbb204d98d8c0425abc7a228f7d951b45b78544.tar.bz2
slibtool-0cbb204d98d8c0425abc7a228f7d951b45b78544.tar.xz
driver: clone, normalize (-l,--library,-L,--library-path) the argument vector.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/slibtool_driver_impl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h
index 451b1a6..415e99a 100644
--- a/src/internal/slibtool_driver_impl.h
+++ b/src/internal/slibtool_driver_impl.h
@@ -76,6 +76,13 @@ enum app_tags {
TAG_THREAD_SAFE,
};
+struct slbt_split_vector {
+ char * dargs;
+ char ** dargv;
+ char ** targv;
+ char ** cargv;
+};
+
struct slbt_host_strs {
char * machine;
char * host;
@@ -94,6 +101,8 @@ struct slbt_driver_ctx_impl {
struct slbt_host_strs ahost;
struct slbt_fd_ctx fdctx;
char * libname;
+ char * dargs;
+ char ** dargv;
char ** targv;
char ** cargv;
struct slbt_error_info**errinfp;