summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2004-09-26 17:26:55 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2004-09-26 17:26:55 (GMT)
commit4d9559a47e2c39aabf1ea9ae30be892841f3e73b (patch)
tree360723197f1621d4cdeb28c13986fb4f1c5b0229
parenta80a2c8e67825b2ffec65e7b9d21a5730f353847 (diff)
downloadcpython-4d9559a47e2c39aabf1ea9ae30be892841f3e73b.zip
cpython-4d9559a47e2c39aabf1ea9ae30be892841f3e73b.tar.gz
cpython-4d9559a47e2c39aabf1ea9ae30be892841f3e73b.tar.bz2
Replace -soname with -h for Solaris compatibility. Fixes #1034496.
Backported to 2.3.
-rw-r--r--Makefile.pre.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index e7220b6..d1ea4e2 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -351,7 +351,7 @@ $(LIBRARY): $(LIBRARY_OBJS)
libpython$(VERSION).so: $(LIBRARY_OBJS)
if test $(INSTSONAME) != $(LDLIBRARY); then \
- $(LDSHARED) -Wl,-soname=$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \
+ $(LDSHARED) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \
$(LN) -f $(INSTSONAME) $@; \
else\
$(LDSHARED) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \