diff options
author | midipix <writeonce@midipix.org> | 2016-04-10 08:07:32 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-04-10 08:07:32 -0400 |
commit | 873ecbda4d71a629a18e79561b0d9100217530c9 (patch) | |
tree | ee98121f08657a2b9b573b56d38564777544fb08 /src/driver/slbt_driver_ctx.c | |
parent | 5e58040cb4e77c2f3aae4cd20dd1f6eabc4b1ba3 (diff) | |
download | slibtool-873ecbda4d71a629a18e79561b0d9100217530c9.tar.bz2 slibtool-873ecbda4d71a629a18e79561b0d9100217530c9.tar.xz |
driver: added -export-symbols support [no-op].
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 8 |
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; |