summaryrefslogtreecommitdiff
path: root/src/driver/slbt_driver_ctx.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-09 19:54:53 -0400
committermidipix <writeonce@midipix.org>2016-04-09 19:54:53 -0400
commit9aa1f4b19f4d7a635c744f4241ec64a7745bd83a (patch)
treefd03d19ed55c12ef1c9f191a4cf922fceedd6752 /src/driver/slbt_driver_ctx.c
parent258073e76ddf4030ff9d6385caf6af7d0c609a3f (diff)
downloadslibtool-9aa1f4b19f4d7a635c744f4241ec64a7745bd83a.tar.bz2
slibtool-9aa1f4b19f4d7a635c744f4241ec64a7745bd83a.tar.xz
driver: added -release support.
Diffstat (limited to 'src/driver/slbt_driver_ctx.c')
-rw-r--r--src/driver/slbt_driver_ctx.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/driver/slbt_driver_ctx.c b/src/driver/slbt_driver_ctx.c
index 1d87ebd..726bb12 100644
--- a/src/driver/slbt_driver_ctx.c
+++ b/src/driver/slbt_driver_ctx.c
@@ -235,6 +235,10 @@ static int slbt_split_argv(
*targv++ = argv[i++];
*targv++ = argv[i];
+ } else if (!(strcmp("release",&argv[i][1]))) {
+ *targv++ = argv[i++];
+ *targv++ = argv[i];
+
} else if (!(strcmp("version-info",&argv[i][1]))) {
*targv++ = argv[i++];
*targv++ = argv[i];
@@ -679,6 +683,10 @@ int slbt_get_driver_ctx(
cctx.rpath = entry->arg;
break;
+ case TAG_RELEASE:
+ cctx.release = entry->arg;
+ break;
+
case TAG_VERSION_INFO:
cctx.verinfo.verinfo = entry->arg;
break;