]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Replace -soname with -h for Solaris compatibility. Fixes #1034496.
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 26 Sep 2004 17:22:11 +0000 (17:22 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 26 Sep 2004 17:22:11 +0000 (17:22 +0000)
Makefile.pre.in
Misc/NEWS

index 06ef042e7bcd8a6a143f4e227ee06dd4ce43cfb8..5e23a1e0c987fba248696c267527bc4721bff95c 100644 (file)
@@ -345,7 +345,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); \
index a5b2a5ff32ea973a5ceddb811557fac289477e3b..6c748f9539921bb9cf774d17807af1efeef650b5 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -123,6 +123,8 @@ Tools/Demos
 Build
 -----
 
+- Bug #1034496: Use -h instead of -soname for Solaris compatibility.
+
 - Patch #973204: Use -rpath instead of -R for runtime_library_dirs 
   on Irix and True64.