From 88e561cb708235241310f39b4a0f640c4805143e Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 22 Jun 2018 13:19:05 -0400 Subject: driver: compatibility: have -{shared|static} imply -disable-{static|shared}. --- src/driver/slbt_driver_ctx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 449f63a..77c505a 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -1136,11 +1136,11 @@ int slbt_get_driver_ctx( break; case TAG_SHARED: - cctx.drvflags &= ~(uint64_t)SLBT_DRIVER_STATIC; + cctx.drvflags |= SLBT_DRIVER_DISABLE_STATIC; break; case TAG_STATIC: - cctx.drvflags &= ~(uint64_t)SLBT_DRIVER_SHARED; + cctx.drvflags |= SLBT_DRIVER_DISABLE_SHARED; break; } } -- cgit v1.2.3