From 56f236d413d8aa5e0c875f0926f0c6dd9fb1d7d0 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 19 Dec 2020 22:14:58 +0000 Subject: driver: support -static-libtool-libs (currently as a no-op). --- src/driver/slbt_driver_ctx.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/driver/slbt_driver_ctx.c') 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; -- cgit v1.2.3