mirror of
https://github.com/python/cpython
synced 2024-10-14 23:04:49 +00:00
patch #101733: fix glitch in FreeBSD conf
This commit is contained in:
parent
aef0e890b5
commit
4bcc7c5119
4
configure
vendored
4
configure
vendored
|
@ -1,6 +1,6 @@
|
||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
# From configure.in Revision: 1.152
|
# From configure.in Revision: 1.153
|
||||||
|
|
||||||
# Guess values for system-dependent variables and create Makefiles.
|
# Guess values for system-dependent variables and create Makefiles.
|
||||||
# Generated automatically using autoconf version 2.13
|
# Generated automatically using autoconf version 2.13
|
||||||
|
@ -2666,7 +2666,7 @@ then
|
||||||
LDSHARED="ld -Bshareable"
|
LDSHARED="ld -Bshareable"
|
||||||
fi;;
|
fi;;
|
||||||
FreeBSD*)
|
FreeBSD*)
|
||||||
if "`$CC -dM -E - </dev/null | grep __ELF__`" != ""
|
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
|
||||||
then
|
then
|
||||||
LDSHARED="cc -shared ${LDFLAGS}"
|
LDSHARED="cc -shared ${LDFLAGS}"
|
||||||
else
|
else
|
||||||
|
|
|
@ -584,7 +584,7 @@ then
|
||||||
LDSHARED="ld -Bshareable"
|
LDSHARED="ld -Bshareable"
|
||||||
fi;;
|
fi;;
|
||||||
FreeBSD*)
|
FreeBSD*)
|
||||||
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
|
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
|
||||||
then
|
then
|
||||||
LDSHARED="cc -shared ${LDFLAGS}"
|
LDSHARED="cc -shared ${LDFLAGS}"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue