fix freebsd linking #7705
This commit is contained in:
parent
8122bdd8bd
commit
11d932372b
|
@ -60,6 +60,11 @@ Tools/Demos
|
|||
measures the number of UDP packets processed per second depending on the
|
||||
number of background CPU-bound Python threads.
|
||||
|
||||
Build
|
||||
-----
|
||||
|
||||
- Issue #7705: Fix linking on FreeBSD.
|
||||
|
||||
|
||||
What's New in Python 2.7 alpha 4?
|
||||
=================================
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#! /bin/sh
|
||||
# From configure.in Revision: 78817 .
|
||||
# From configure.in Revision: 78819 .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.61 for python 2.7.
|
||||
#
|
||||
|
@ -14860,7 +14860,7 @@ then
|
|||
FreeBSD*)
|
||||
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
|
||||
then
|
||||
LDSHARED="$CC -shared ${LDFLAGS}"
|
||||
LDSHARED="$(CC) -shared ${LDFLAGS}"
|
||||
else
|
||||
LDSHARED="ld -Bshareable ${LDFLAGS}"
|
||||
fi;;
|
||||
|
|
|
@ -1829,7 +1829,7 @@ then
|
|||
FreeBSD*)
|
||||
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
|
||||
then
|
||||
LDSHARED="$CC -shared ${LDFLAGS}"
|
||||
LDSHARED="$(CC) -shared ${LDFLAGS}"
|
||||
else
|
||||
LDSHARED="ld -Bshareable ${LDFLAGS}"
|
||||
fi;;
|
||||
|
|
Loading…
Reference in New Issue