summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-09 13:35:47 -0400
committermidipix <writeonce@midipix.org>2016-04-09 19:00:51 -0400
commit340edad7c8fd59148cd15a92b78bc7536140cc45 (patch)
tree3bc23c9867e503bcc7110a19ba3404d460fc725a
parentf0d5f3239546e0c3b915d4f58d5e7caff9b319d5 (diff)
downloadslibtool-340edad7c8fd59148cd15a92b78bc7536140cc45.tar.bz2
slibtool-340edad7c8fd59148cd15a92b78bc7536140cc45.tar.xz
driver: record the flags passed to slbt_get_driver_ctx().
-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++) {