summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-10 08:07:32 -0400
committermidipix <writeonce@midipix.org>2016-04-10 08:07:32 -0400
commit873ecbda4d71a629a18e79561b0d9100217530c9 (patch)
treeee98121f08657a2b9b573b56d38564777544fb08 /src/driver
parent5e58040cb4e77c2f3aae4cd20dd1f6eabc4b1ba3 (diff)
downloadslibtool-873ecbda4d71a629a18e79561b0d9100217530c9.tar.bz2
slibtool-873ecbda4d71a629a18e79561b0d9100217530c9.tar.xz
driver: added -export-symbols support [no-op].
Diffstat (limited to 'src/driver')
-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 69db462..46a5ef3 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",&argv[i][1]))) {
+ *targv++ = argv[i++];
+ *targv++ = argv[i];
+
} else if (!(strcmp("export-symbols-regex",&argv[i][1]))) {
*targv++ = argv[i++];
*targv++ = argv[i];
@@ -703,6 +707,10 @@ int slbt_get_driver_ctx(
cctx.release = entry->arg;
break;
+ case TAG_EXPSYM_FILE:
+ cctx.symfile = entry->arg;
+ break;
+
case TAG_EXPSYM_REGEX:
cctx.regex = entry->arg;
break;