diff options
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; } } } |