summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/slbt_driver_ctx.c7
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;