summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2020-12-19 22:14:58 +0000
committermidipix <writeonce@midipix.org>2020-12-19 22:14:58 +0000
commit56f236d413d8aa5e0c875f0926f0c6dd9fb1d7d0 (patch)
tree87d1cf1e630214640cf95b24894dfef98a038cf3 /src/driver
parent5c4d52d78ab5f2a925ad0ac185d8a4d4738c9b0a (diff)
downloadslibtool-56f236d413d8aa5e0c875f0926f0c6dd9fb1d7d0.tar.bz2
slibtool-56f236d413d8aa5e0c875f0926f0c6dd9fb1d7d0.tar.xz
driver: support -static-libtool-libs (currently as a no-op).
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_driver_ctx.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 7e1e690..b105c2b 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -553,6 +553,9 @@ static int slbt_split_argv(
*targv++ = argv[i++];
*targv++ = argv[i];
+ } else if (!(strcmp("static-libtool-libs",&argv[i][1]))) {
+ *targv++ = argv[i];
+
} else if (!(strcmp("export-dynamic",&argv[i][1]))) {
*targv++ = argv[i];
@@ -1528,6 +1531,10 @@ int slbt_get_driver_ctx(
case TAG_DLOPEN:
break;
+ case TAG_STATIC_LIBTOOL_LIBS:
+ cctx.drvflags |= SLBT_DRIVER_STATIC_LIBTOOL_LIBS;
+ break;
+
case TAG_EXPORT_DYNAMIC:
cctx.drvflags |= SLBT_DRIVER_EXPORT_DYNAMIC;
break;