]> granicus.if.org Git - python/commitdiff
Replace -soname with -h for Solaris compatibility. Fixes #1034496.
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 26 Sep 2004 17:26:55 +0000 (17:26 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 26 Sep 2004 17:26:55 +0000 (17:26 +0000)
Backported to 2.3.

Makefile.pre.in

index e7220b6c7c4e7fc29df273e9afe41efeb54bcc89..d1ea4e27004cc707649bf7775cce4dd36ac76c23 100644 (file)
@@ -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); \