summaryrefslogtreecommitdiff
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-09 21:48:56 -0400
committermidipix <writeonce@midipix.org>2016-04-09 21:48:56 -0400
commit73ca7898471c9aaf4552dac3935de343c4ef0ce5 (patch)
tree54cd7d03eeeb0021de801bcefe31722e86e44be0 /src/driver/slbt_driver_ctx.c
parent79c501c4deee52047bd00d7c72800d5784293ee4 (diff)
downloadslibtool-73ca7898471c9aaf4552dac3935de343c4ef0ce5.tar.bz2
slibtool-73ca7898471c9aaf4552dac3935de343c4ef0ce5.tar.xz
driver: added -export-symbols-regex support [no-op].
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r--src/driver/slbt_driver_ctx.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 29aff8b..69db462 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -239,6 +239,10 @@ static int slbt_split_argv(
*targv++ = argv[i++];
*targv++ = argv[i];
+ } else if (!(strcmp("export-symbols-regex",&argv[i][1]))) {
+ *targv++ = argv[i++];
+ *targv++ = argv[i];
+
} else if (!(strcmp("version-info",&argv[i][1]))) {
*targv++ = argv[i++];
*targv++ = argv[i];
@@ -699,6 +703,10 @@ int slbt_get_driver_ctx(
cctx.release = entry->arg;
break;
+ case TAG_EXPSYM_REGEX:
+ cctx.regex = entry->arg;
+ break;
+
case TAG_VERSION_INFO:
cctx.verinfo.verinfo = entry->arg;
break;