From e86d8c08d408ace36a97b840d2dff2da39a23c60 Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 16 Oct 2019 16:48:20 +0000 Subject: driver: --heuristics: respect explicit --disable-shared and/or -static. --- src/driver/slbt_driver_ctx.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/driver') diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 22eb0bc..5775ee5 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -1581,9 +1581,6 @@ int slbt_get_driver_ctx( if (slbt_get_lconf_flags(&ctx->ctx,lconf,&lflags) < 0) return slbt_get_driver_ctx_fail(&ctx->ctx,0); - cctx.drvflags &= ~(uint64_t)SLBT_DRIVER_DISABLE_STATIC; - cctx.drvflags &= ~(uint64_t)SLBT_DRIVER_DISABLE_SHARED; - cctx.drvflags |= lflags; cctx.drvflags |= SLBT_DRIVER_SHARED; cctx.drvflags |= SLBT_DRIVER_STATIC; -- cgit v1.2.3