summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure14
1 files changed, 11 insertions, 3 deletions
diff --git a/configure b/configure
index 834b35cdbd..9cbb6ff7fb 100755
--- a/configure
+++ b/configure
@@ -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