summaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-10-07 22:27:13 -0400
committermidipix <writeonce@midipix.org>2016-10-07 22:27:13 -0400
commit05ca7ea5f194f44e9f26567560cf4266a8e0f3f5 (patch)
tree64c2ee7bf5a812a5677939c5abaa102b1edcf071 /src/driver
parentec296aac58b0c9afd185951427d75da1229b9f19 (diff)
downloadslibtool-05ca7ea5f194f44e9f26567560cf4266a8e0f3f5.tar.bz2
slibtool-05ca7ea5f194f44e9f26567560cf4266a8e0f3f5.tar.xz
driver: added support for -dlopen (currently a no-op).
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 1379731..ac41ed3 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -334,6 +334,10 @@ static int slbt_split_argv(
*targv++ = argv[i++];
*targv++ = argv[i];
+ } else if (!(strcmp("dlopen",&argv[i][1]))) {
+ *targv++ = argv[i++];
+ *targv++ = argv[i];
+
} else if (!(strcmp("export-symbols",&argv[i][1]))) {
*targv++ = argv[i++];
*targv++ = argv[i];
@@ -990,6 +994,9 @@ int slbt_get_driver_ctx(
cctx.drvflags |= SLBT_DRIVER_AVOID_VERSION;
break;
+ case TAG_DLOPEN:
+ break;
+
case TAG_EXPSYM_FILE:
cctx.symfile = entry->arg;
break;