summaryrefslogtreecommitdiff
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r--src/driver/slbt_driver_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index a7d02a3..1d87ebd 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -566,7 +566,7 @@ int slbt_get_driver_ctx(
memset(&cctx,0,sizeof(cctx));
/* shared and static objects: enable by default, disable by ~switch */
- cctx.drvflags = SLBT_DRIVER_SHARED | SLBT_DRIVER_STATIC;
+ cctx.drvflags = flags | SLBT_DRIVER_SHARED | SLBT_DRIVER_STATIC;
/* get options, count units */
for (entry=meta->entries; entry->fopt || entry->arg; entry++) {