From: Martin v. Löwis Date: Sun, 26 Sep 2004 17:26:55 +0000 (+0000) Subject: Replace -soname with -h for Solaris compatibility. Fixes #1034496. X-Git-Tag: v2.4b1~173 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d9559a47e2c39aabf1ea9ae30be892841f3e73b;p=python Replace -soname with -h for Solaris compatibility. Fixes #1034496. Backported to 2.3. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index e7220b6c7c..d1ea4e2700 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); \