summaryrefslogtreecommitdiff
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-22 11:39:18 -0400
committermidipix <writeonce@midipix.org>2016-04-23 09:25:06 -0400
commitf5fa4cfd2ddab00584b0382e8a8f9c26b18b5c09 (patch)
tree61c24138dd37dfe91e9290a19a49277d68bb9cdf /src/driver/slbt_driver_ctx.c
parent0e609bfcff021c701474af9095eb0ba57d9eeeb0 (diff)
downloadslibtool-f5fa4cfd2ddab00584b0382e8a8f9c26b18b5c09.tar.bz2
slibtool-f5fa4cfd2ddab00584b0382e8a8f9c26b18b5c09.tar.xz
driver: added -disable-shared support.
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-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 544e485..673cfeb 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -705,6 +705,9 @@ int slbt_get_driver_ctx(
else if (!strcmp("disable-static",entry->arg))
cctx.drvflags |= SLBT_DRIVER_DISABLE_STATIC;
+
+ else if (!strcmp("disable-shared",entry->arg))
+ cctx.drvflags |= SLBT_DRIVER_DISABLE_SHARED;
break;
case TAG_CONFIG:
@@ -818,6 +821,10 @@ int slbt_get_driver_ctx(
cctx.drvflags |= SLBT_DRIVER_DISABLE_STATIC;
break;
+ case TAG_DISABLE_SHARED:
+ cctx.drvflags |= SLBT_DRIVER_DISABLE_SHARED;
+ break;
+
case TAG_AVOID_VERSION:
cctx.drvflags |= SLBT_DRIVER_AVOID_VERSION;
break;