summaryrefslogtreecommitdiff
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-22 04:26:59 -0400
committermidipix <writeonce@midipix.org>2016-04-23 09:25:08 -0400
commit63a1b4f797559545e3ed60b387e969ecf79d3e57 (patch)
tree32873d7a3ca67aaf1e1b528bfa13b51d6adb796d /src/driver/slbt_driver_ctx.c
parentf5fa4cfd2ddab00584b0382e8a8f9c26b18b5c09 (diff)
downloadslibtool-63a1b4f797559545e3ed60b387e969ecf79d3e57.tar.bz2
slibtool-63a1b4f797559545e3ed60b387e969ecf79d3e57.tar.xz
driver: added -bindir support.
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r--src/driver/slbt_driver_ctx.c4
1 files changed, 4 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];