[Python-checkins] r78962 - in python/trunk: Misc/NEWS configure configure.in

benjamin.peterson python-checkins at python.org
Sun Mar 14 15:24:31 CET 2010


Author: benjamin.peterson
Date: Sun Mar 14 15:24:31 2010
New Revision: 78962
Log:
fix freebsd linking #7705
Modified:
 python/trunk/Misc/NEWS
 python/trunk/configure
 python/trunk/configure.in
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Sun Mar 14 15:24:31 2010
@@ -60,6 +60,11 @@
 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?
 =================================
Modified: python/trunk/configure
==============================================================================
--- python/trunk/configure	(original)
+++ python/trunk/configure	Sun Mar 14 15:24:31 2010
@@ -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 @@
 	FreeBSD*)
 		if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
 		then
-			LDSHARED="$CC -shared ${LDFLAGS}"
+			LDSHARED="$(CC) -shared ${LDFLAGS}"
 		else
 			LDSHARED="ld -Bshareable ${LDFLAGS}"
 		fi;;
Modified: python/trunk/configure.in
==============================================================================
--- python/trunk/configure.in	(original)
+++ python/trunk/configure.in	Sun Mar 14 15:24:31 2010
@@ -1829,7 +1829,7 @@
 	FreeBSD*)
 		if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
 		then
-			LDSHARED="$CC -shared ${LDFLAGS}"
+			LDSHARED="$(CC) -shared ${LDFLAGS}"
 		else
 			LDSHARED="ld -Bshareable ${LDFLAGS}"
 		fi;;


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /