diff options
author | midipix <writeonce@midipix.org> | 2021-05-05 19:43:06 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-05-05 19:57:26 +0000 |
commit | 04b5c8008287b8d390556dda9a4006bca9d0822d (patch) | |
tree | f5e810cac1821235a150ba505543cab5815c7960 /src/logic | |
parent | 5a20d9f7dfbefe2ed568a60c3c1653473226b4ad (diff) | |
download | slibtool-04b5c8008287b8d390556dda9a4006bca9d0822d.tar.bz2 slibtool-04b5c8008287b8d390556dda9a4006bca9d0822d.tar.xz |
install mode: driver: added (referential) --sysroot support.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/slbt_exec_install.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c index 5e5d440..b86e979 100644 --- a/src/logic/slbt_exec_install.c +++ b/src/logic/slbt_exec_install.c @@ -709,6 +709,9 @@ int slbt_exec_install( for (entry=meta->entries; entry->fopt || entry->arg; entry++) { if (entry->fopt) { switch (entry->tag) { + case TAG_INSTALL_SYSROOT: + break; + case TAG_INSTALL_COPY: *argv++ = "-c"; copy = entry; @@ -754,8 +757,12 @@ int slbt_exec_install( break; } - if (entry->fval) + if (entry->tag == TAG_INSTALL_SYSROOT) { + (void)0; + + } else if (entry->fval) { *argv++ = (char *)entry->arg; + } } else last = entry; } |