reject unrecognized -no-l* options
the -l* fallback is for adding libraries. it obviously makes no sense in its negated form. Task-number: QTBUG-32550 Change-Id: I9f3af9a2fc059ba39987d4b197ed4778cc7f35b6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
parent
8fce4e97ba
commit
6901d21c1d
14
configure
vendored
14
configure
vendored
@ -2342,11 +2342,19 @@ while [ "$#" -gt 0 ]; do
|
||||
CFG_DEFAULT_ANDROID_NDK_TOOLCHAIN_VERSION="$VAL"
|
||||
;;
|
||||
l*) # -lfoo
|
||||
L_FLAGS="$L_FLAGS -l\"${VAR#l}\""
|
||||
if [ "$VAL" = "yes" ]; then
|
||||
L_FLAGS="$L_FLAGS -l\"${VAR#l}\""
|
||||
else
|
||||
UNKNOWN_OPT=yes
|
||||
fi
|
||||
;;
|
||||
fw*) # -fwfoo
|
||||
if [ "$BUILD_ON_MAC" = "yes" ]; then
|
||||
L_FLAGS="$L_FLAGS -framework \"${VAR#fw}\""
|
||||
if [ "$VAL" = "yes" ]; then
|
||||
if [ "$BUILD_ON_MAC" = "yes" ]; then
|
||||
L_FLAGS="$L_FLAGS -framework \"${VAR#fw}\""
|
||||
else
|
||||
UNKNOWN_OPT=yes
|
||||
fi
|
||||
else
|
||||
UNKNOWN_OPT=yes
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user