diff options
author | midipix <writeonce@midipix.org> | 2016-04-21 16:20:47 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-21 16:39:59 -0400 |
commit | dba2af9c250d8e0d59c730ba6e6f001b02ccc907 (patch) | |
tree | 4860c667eb0f10e158f1adf2f3862cfeb5863ebe /src/logic | |
parent | 372423a58ff43384ac090c2b572a877c3a0a20a9 (diff) | |
download | slibtool-dba2af9c250d8e0d59c730ba6e6f001b02ccc907.tar.bz2 slibtool-dba2af9c250d8e0d59c730ba6e6f001b02ccc907.tar.xz |
install mode: mode: added -all-static support.
Diffstat (limited to 'src/logic')
-rw-r--r-- | src/logic/slbt_exec_install.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/logic/slbt_exec_install.c b/src/logic/slbt_exec_install.c index 008c89d..d14d3b0 100644 --- a/src/logic/slbt_exec_install.c +++ b/src/logic/slbt_exec_install.c @@ -331,6 +331,10 @@ static int slbt_exec_install_entry( return 0; } + /* -all-static? */ + if (!strcmp(target,"/dev/null")) + return 0; + /* srcfile: .libs/libfoo.so.x.y.z */ slash = strrchr(srcfile,'/'); strcpy(++slash,target); |