diff options
author | midipix <writeonce@midipix.org> | 2016-03-19 10:55:22 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-03-19 10:55:22 -0400 |
commit | 9c664df6999ec7a3a4bf3bc544605a40701a487d (patch) | |
tree | b01644a32afe80d7655a710205cac099b9bd9a3e /src/driver/slbt_driver_ctx.c | |
parent | a40c9a61fffde2ef0fed88168ec855177370f7e5 (diff) | |
download | slibtool-9c664df6999ec7a3a4bf3bc544605a40701a487d.tar.bz2 slibtool-9c664df6999ec7a3a4bf3bc544605a40701a487d.tar.xz |
driver: added -rpath support.
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r-- | src/driver/slbt_driver_ctx.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c index 05cf04e..e4d2eda 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -217,6 +217,9 @@ static int slbt_split_argv( *targv++ = argv[i++]; *targv++ = argv[i++]; + } else if (!(strcmp("rpath",&argv[i][1]))) { + *targv++ = argv[i++]; + *targv++ = argv[i++]; } else { for (option=options; option->long_name; option++) if (!(strcmp(option->long_name,&argv[i][1]))) @@ -517,6 +520,10 @@ int slbt_get_driver_ctx( cctx.output = entry->arg; break; + case TAG_RPATH: + cctx.rpath = entry->arg; + break; + case TAG_TARGET: cctx.target = entry->arg; break; |