From f5fa4cfd2ddab00584b0382e8a8f9c26b18b5c09 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 22 Apr 2016 11:39:18 -0400 Subject: driver: added -disable-shared support. --- 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 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; -- cgit v1.2.3