summaryrefslogtreecommitdiff
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-11 14:32:08 -0400
committermidipix <writeonce@midipix.org>2016-04-11 14:32:08 -0400
commit68f313e1452c88235ece7f5b76b6bbdb82b9e5f3 (patch)
tree2bc2a798c5d07e7c9a2c0d2d5cd3a3af2c3a1368 /src/driver/slbt_driver_ctx.c
parenta943fc79ea08792a9f1679183372bd4fccedcf2d (diff)
downloadslibtool-68f313e1452c88235ece7f5b76b6bbdb82b9e5f3.tar.bz2
slibtool-68f313e1452c88235ece7f5b76b6bbdb82b9e5f3.tar.xz
driver: added -avoid-version support.
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r--src/driver/slbt_driver_ctx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 5640453..47e4f7d 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -758,6 +758,10 @@ int slbt_get_driver_ctx(
cctx.drvflags |= SLBT_DRIVER_MODULE;
break;
+ case TAG_AVOID_VERSION:
+ cctx.drvflags |= SLBT_DRIVER_AVOID_VERSION;
+ break;
+
case TAG_SHARED:
cctx.drvflags &= ~(uint64_t)SLBT_DRIVER_STATIC;
break;