summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-03-06 14:39:53 -0500
committermidipix <writeonce@midipix.org>2016-03-08 14:21:08 -0500
commit40fabb60a29153aeb9aba307f0266bd7539f9878 (patch)
treeee8d13bdccbffd107998e45e73d3d4a1678fe6f3 /src/driver
parent6376f0dd27115ae9951267c8f1313b498d439ba1 (diff)
downloadslibtool-40fabb60a29153aeb9aba307f0266bd7539f9878.tar.bz2
slibtool-40fabb60a29153aeb9aba307f0266bd7539f9878.tar.xz
driver: added context initialization for --preserve-dup-deps.
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_driver_ctx.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 319678b..0e07c12 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -185,6 +185,11 @@ int slbt_get_driver_ctx(
else if (!strcmp("none",entry->arg))
cctx.tag = SLBT_WARNING_LEVEL_NONE;
break;
+
+ case TAG_DEPS:
+ cctx.drvflags |= SLBT_DRIVER_DEPS;
+ break;
+
}
} else
nunits++;