summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-03-31 03:26:43 +0000
committermidipix <writeonce@midipix.org>2025-03-31 03:33:37 +0000
commite496ed1f66b04f52222b9f6fb83ca8424855ed15 (patch)
tree42f9343b1ae620d8a66f406c28208bc4f46ecb7b /src/driver
parent9e90beda5fd3fd4f93eac229e41bb5f3b9f86982 (diff)
downloadslibtool-e496ed1f66b04f52222b9f6fb83ca8424855ed15.tar.bz2
slibtool-e496ed1f66b04f52222b9f6fb83ca8424855ed15.tar.xz
slibtoolize: prefer libsltdl unless invoked with the --system-ltdl argument.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_amain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/slbt_amain.c b/src/driver/slbt_amain.c
index a9cc118..bcf88ba 100644
--- a/src/driver/slbt_amain.c
+++ b/src/driver/slbt_amain.c
@@ -157,10 +157,10 @@ int slbt_main(char ** argv, char ** envp, const struct slbt_fd_ctx * fdctx)
/* slibtoolize (stoolie) mode */
if (!(strcmp(program,"stoolie")))
- flags |= SLBT_DRIVER_MODE_STOOLIE;
+ flags |= SLBT_DRIVER_MODE_STOOLIE | SLBT_DRIVER_PREFER_SLTDL;
else if (!(strcmp(program,"slibtoolize")))
- flags |= SLBT_DRIVER_MODE_STOOLIE;
+ flags |= SLBT_DRIVER_MODE_STOOLIE | SLBT_DRIVER_PREFER_SLTDL;
/* debug */
if (!(strcmp(program,"dlibtool")))