summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-21 16:20:47 -0400
committermidipix <writeonce@midipix.org>2016-04-21 16:39:59 -0400
commitdba2af9c250d8e0d59c730ba6e6f001b02ccc907 (patch)
tree4860c667eb0f10e158f1adf2f3862cfeb5863ebe /src
parent372423a58ff43384ac090c2b572a877c3a0a20a9 (diff)
downloadslibtool-dba2af9c250d8e0d59c730ba6e6f001b02ccc907.tar.bz2
slibtool-dba2af9c250d8e0d59c730ba6e6f001b02ccc907.tar.xz
install mode: mode: added -all-static support.
Diffstat (limited to 'src')
-rw-r--r--src/logic/slbt_exec_install.c4
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);