summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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);