diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-09-10 15:34:42 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-09-10 15:34:42 (GMT) |
commit | 5b718fc8a3ef93ced473b0285145fd0faecaab7e (patch) | |
tree | 7482cc30c37815e6f5c39a4f5b4815fcd7094188 /configure | |
parent | ed5a7ca5eef65248b652b564781437c931aaffb3 (diff) | |
download | cpython-5b718fc8a3ef93ced473b0285145fd0faecaab7e.zip cpython-5b718fc8a3ef93ced473b0285145fd0faecaab7e.tar.gz cpython-5b718fc8a3ef93ced473b0285145fd0faecaab7e.tar.bz2 |
Use $(CC) -G to link shared libraries on Solaris.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3030,7 +3030,7 @@ then fi echo "$ac_t""$SO" 1>&6 # LDSHARED is the ld *command* used to create shared library -# -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5 +# -- "ld" on SunOS 4.x.x, "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5 # (Shared libraries in this instance are shared modules to be loaded into # Python, as opposed to building Python itself as a shared library.) echo $ac_n "checking LDSHARED""... $ac_c" 1>&6 @@ -3052,7 +3052,7 @@ then SunOS/5*) if test "$GCC" = "yes" then LDSHARED='$(CC) -shared' - else LDSHARED="ld -G"; + else LDSHARED="$(CC) -G"; fi ;; hp*|HP*) LDSHARED="ld -b";; OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";; |