summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/driver/slbt_driver_ctx.c7
-rw-r--r--src/internal/slibtool_driver_impl.h1
-rw-r--r--src/skin/slbt_skin_default.c5
3 files changed, 13 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 7e1e690..b105c2b 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -553,6 +553,9 @@ static int slbt_split_argv(
*targv++ = argv[i++];
*targv++ = argv[i];
+ } else if (!(strcmp("static-libtool-libs",&argv[i][1]))) {
+ *targv++ = argv[i];
+
} else if (!(strcmp("export-dynamic",&argv[i][1]))) {
*targv++ = argv[i];
@@ -1528,6 +1531,10 @@ int slbt_get_driver_ctx(
case TAG_DLOPEN:
break;
+ case TAG_STATIC_LIBTOOL_LIBS:
+ cctx.drvflags |= SLBT_DRIVER_STATIC_LIBTOOL_LIBS;
+ break;
+
case TAG_EXPORT_DYNAMIC:
cctx.drvflags |= SLBT_DRIVER_EXPORT_DYNAMIC;
break;
diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h
index 19b4f46..8aaf592 100644
--- a/src/internal/slibtool_driver_impl.h
+++ b/src/internal/slibtool_driver_impl.h
@@ -66,6 +66,7 @@ enum app_tags {
TAG_HEURISTICS,
TAG_SHARED,
TAG_STATIC,
+ TAG_STATIC_LIBTOOL_LIBS,
TAG_ALL_STATIC,
TAG_DISABLE_STATIC,
TAG_DISABLE_SHARED,
diff --git a/src/skin/slbt_skin_default.c b/src/skin/slbt_skin_default.c
index 1f81148..5533b04 100644
--- a/src/skin/slbt_skin_default.c
+++ b/src/skin/slbt_skin_default.c
@@ -265,6 +265,11 @@ const struct argv_option slbt_default_options[] = {
ARGV_OPTION_HYBRID_ONLY,0,0,
"only build ./srcfile.o"},
+ {"static-libtool-libs", 0,TAG_STATIC_LIBTOOL_LIBS,ARGV_OPTARG_NONE,
+ ARGV_OPTION_HYBRID_ONLY,0,0,
+ "statically link libtool libraries "
+ "[currently a no-op]"},
+
{"Wc", 0,TAG_COMPILER_FLAG,ARGV_OPTARG_REQUIRED,
ARGV_OPTION_HYBRID_ONLY|ARGV_OPTION_HYBRID_COMMA,
0,"<flag>[,<flag]...",