diff options
author | midipix <writeonce@midipix.org> | 2018-03-05 17:33:21 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2018-03-05 17:33:21 -0500 |
commit | 9160500b62fca721ace9df94d440d9e71d587a35 (patch) | |
tree | 5a05d687ce2690010de1fd81e8425d3e6aa89ee4 /src/driver/slbt_driver_ctx.c | |
parent | d332273eba3af3d1161c64fd391c7af7586bb2f7 (diff) | |
download | slibtool-9160500b62fca721ace9df94d440d9e71d587a35.tar.bz2 slibtool-9160500b62fca721ace9df94d440d9e71d587a35.tar.xz |
driver: support -export-dynamic (currently as a no-op).
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 1993414..94e7e9c 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -323,6 +323,9 @@ static int slbt_split_argv( *targv++ = argv[i++]; *targv++ = argv[i]; + } else if (!(strcmp("export-dynamic",&argv[i][1]))) { + *targv++ = argv[i]; + } else if (!(strcmp("export-symbols",&argv[i][1]))) { *targv++ = argv[i++]; *targv++ = argv[i]; @@ -1075,6 +1078,10 @@ int slbt_get_driver_ctx( case TAG_DLOPEN: break; + case TAG_EXPORT_DYNAMIC: + cctx.drvflags |= SLBT_DRIVER_EXPORT_DYNAMIC; + break; + case TAG_EXPSYM_FILE: cctx.symfile = entry->arg; break; |