diff options
author | midipix <writeonce@midipix.org> | 2022-11-04 23:11:23 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2022-11-04 23:33:29 +0000 |
commit | 5e02698d061d467abbf21ff857e9862e37060f89 (patch) | |
tree | 0df96adc8866dc2861e54a59f5859d750ec565f6 /src/driver | |
parent | bb281c20fa1027e1391d0c1251640ec96e9009f6 (diff) | |
download | slibtool-5e02698d061d467abbf21ff857e9862e37060f89.tar.bz2 slibtool-5e02698d061d467abbf21ff857e9862e37060f89.tar.xz |
driver: added -weak support, currently a no-op.
Diffstat (limited to 'src/driver')
-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 4a9e757..4a5bf62 100644 --- a/src/driver/slbt_driver_ctx.c +++ b/src/driver/slbt_driver_ctx.c @@ -615,6 +615,10 @@ static int slbt_split_argv( *targv++ = argv[i++]; *targv++ = argv[i]; + } else if (!(strcmp("weak",&argv[i][1]))) { + *targv++ = argv[i++]; + *targv++ = argv[i]; + } else if (!(strcmp("static-libtool-libs",&argv[i][1]))) { *targv++ = argv[i]; @@ -1684,6 +1688,9 @@ int slbt_get_driver_ctx( case TAG_STATIC: cmdstatic = entry; break; + + case TAG_WEAK: + break; } } } |