summaryrefslogtreecommitdiffhomepage
path: root/src/driver
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-16 09:12:11 -0400
committermidipix <writeonce@midipix.org>2016-04-16 09:12:11 -0400
commit523027d6556bfaec8ae90ad7114405daaa336573 (patch)
tree44a3dfe8e7f33d51e35f65d8fcde4fcc6eb8e90a /src/driver
parente8159c12c7562791bf9affed06bc0c3be849b590 (diff)
downloadslibtool-523027d6556bfaec8ae90ad7114405daaa336573.tar.bz2
slibtool-523027d6556bfaec8ae90ad7114405daaa336573.tar.xz
driver: added -R support [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 7d0b91f..6c2990e 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -231,6 +231,13 @@ static int slbt_split_argv(
*targv++ = argv[i++];
*targv++ = argv[i];
+ } else if ((argv[i][1] == 'R') && (argv[i][2] == '\0')) {
+ *targv++ = argv[i++];
+ *targv++ = argv[i];
+
+ } else if (argv[i][1] == 'R') {
+ *targv++ = argv[i];
+
} else if (!(strcmp("rpath",&argv[i][1]))) {
*targv++ = argv[i++];
*targv++ = argv[i];