summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/driver/slbt_driver_ctx.c4
-rw-r--r--src/internal/slibtool_driver_impl.h1
-rw-r--r--src/skin/slbt_skin_default.c6
3 files changed, 11 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 673cfeb..1e8d958 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -238,6 +238,10 @@ static int slbt_split_argv(
} else if (argv[i][1] == 'R') {
*targv++ = argv[i];
+ } else if (!(strcmp("bindir",&argv[i][1]))) {
+ *targv++ = argv[i++];
+ *targv++ = argv[i];
+
} else if (!(strcmp("rpath",&argv[i][1]))) {
*targv++ = argv[i++];
*targv++ = argv[i];
diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h
index 2ecc652..8ffb611 100644
--- a/src/internal/slibtool_driver_impl.h
+++ b/src/internal/slibtool_driver_impl.h
@@ -32,6 +32,7 @@ enum app_tags {
TAG_RANLIB,
TAG_DLLTOOL,
TAG_OUTPUT,
+ TAG_BINDIR,
TAG_LDRPATH,
TAG_RPATH,
TAG_RELEASE,
diff --git a/src/skin/slbt_skin_default.c b/src/skin/slbt_skin_default.c
index e3c0ce2..2b74632 100644
--- a/src/skin/slbt_skin_default.c
+++ b/src/skin/slbt_skin_default.c
@@ -86,6 +86,12 @@ const struct argv_option slbt_default_options[] = {
"encode library path into the executable image "
"[currently a no-op]"},
+ {"bindir", 0,TAG_BINDIR,ARGV_OPTARG_REQUIRED,
+ ARGV_OPTION_HYBRID_ONLY|ARGV_OPTION_HYBRID_SPACE,0,0,
+ "override destination directory when installing "
+ "PE shared libraries. Not needed, ignored for "
+ "compatibility"},
+
{"rpath", 0,TAG_RPATH,ARGV_OPTARG_REQUIRED,
ARGV_OPTION_HYBRID_ONLY|ARGV_OPTION_HYBRID_SPACE,0,0,
"where a library should eventually be "