File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3030,7 +3030,7 @@ then
30303030fi
30313031echo " $ac_t " " $SO " 1>&6
30323032# LDSHARED is the ld *command* used to create shared library
3033- # -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5
3033+ # -- "ld" on SunOS 4.x.x, "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5
30343034# (Shared libraries in this instance are shared modules to be loaded into
30353035# Python, as opposed to building Python itself as a shared library.)
30363036echo $ac_n " checking LDSHARED" " ... $ac_c " 1>&6
@@ -3052,7 +3052,7 @@ then
30523052 SunOS/5* )
30533053 if test " $GCC " = " yes"
30543054 then LDSHARED=' $(CC) -shared'
3055- else LDSHARED=" ld -G" ;
3055+ else LDSHARED=" $( CC ) -G" ;
30563056 fi ;;
30573057 hp* |HP* ) LDSHARED=" ld -b" ;;
30583058 OSF* ) LDSHARED=" ld -shared -expect_unresolved \" *\" " ;;
Original file line number Diff line number Diff line change 650650fi
651651AC_MSG_RESULT($SO)
652652# LDSHARED is the ld *command* used to create shared library
653- # -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5
653+ # -- "ld" on SunOS 4.x.x, "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5
654654# (Shared libraries in this instance are shared modules to be loaded into
655655# Python, as opposed to building Python itself as a shared library.)
656656AC_MSG_CHECKING(LDSHARED)
671671 SunOS/5*)
672672 if test "$GCC" = "yes"
673673 then LDSHARED='$(CC) -shared'
674- else LDSHARED="ld -G";
674+ else LDSHARED="$(CC) -G";
675675 fi ;;
676676 hp*|HP*) LDSHARED="ld -b";;
677677 OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
You can’t perform that action at this time.
0 commit comments