Created
January 8, 2017 17:47
-
-
Save tpimh/69da585fe1019fa58088cb2aca2ab1dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/configure b/configure | |
index c2db298..02a39bd 100755 | |
--- a/configure | |
+++ b/configure | |
@@ -98,7 +98,7 @@ fi | |
tryldflag () { | |
printf "checking whether linker accepts %s... " "$2" | |
echo "typedef int x;" > "$tmpc" | |
-if $CC $LDFLAGS_TRY -nostdlib -shared "$2" -o /dev/null "$tmpc" >/dev/null 2>&1 ; then | |
+if $CC $LDFLAGS_TRY -nostdlib -shared "$2" "$tmpc" >/dev/null 2>&1 ; then | |
printf "yes\n" | |
eval "$1=\"\${$1} \$2\"" | |
eval "$1=\${$1# }" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment