[Python-checkins] Modify configure to link with the compiler driver under HP-UX when not using gcc. (#2519)

Łukasz Langa webhook-mailer at python.org
Wed Dec 6 12:58:21 EST 2017


https://github.com/python/cpython/commit/9d25bd11ca121cfc76e5bf31c265e72956208598
commit: 9d25bd11ca121cfc76e5bf31c265e72956208598
branch: master
author: Rob Boehne <datalogics-robb at users.noreply.github.com>
committer: Łukasz Langa <lukasz at langa.pl>
date: 2017-12-06T09:58:17-08:00
summary:

Modify configure to link with the compiler driver under HP-UX when not using gcc. (#2519)

files:
M configure
M configure.ac

diff --git a/configure b/configure
index d02675742d2..20d8095c252 100755
--- a/configure
+++ b/configure
@@ -9124,7 +9124,8 @@ then
 			LDSHARED='$(CC) -shared'
 			LDCXXSHARED='$(CXX) -shared'
 		else
-			LDSHARED='ld -b'
+			LDSHARED='$(CC) -b'
+			LDCXXSHARED='$(CXX) -shared'
 		fi ;;
 	Darwin/1.3*)
 		LDSHARED='$(CC) -bundle'
diff --git a/configure.ac b/configure.ac
index 68a95c3be6a..828dadb56c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2442,7 +2442,8 @@ then
 			LDSHARED='$(CC) -shared'
 			LDCXXSHARED='$(CXX) -shared'
 		else
-			LDSHARED='ld -b'
+			LDSHARED='$(CC) -b'
+			LDCXXSHARED='$(CXX) -b'
 		fi ;;
 	Darwin/1.3*)
 		LDSHARED='$(CC) -bundle'



More information about the Python-checkins mailing list