From: Martin v. Löwis Date: Sun, 26 Sep 2004 17:22:11 +0000 (+0000) Subject: Replace -soname with -h for Solaris compatibility. Fixes #1034496. X-Git-Tag: v2.3.5c1~108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f83346230671d6bb6ac3d904b517adc97840753;p=thirdparty%2FPython%2Fcpython.git Replace -soname with -h for Solaris compatibility. Fixes #1034496. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index 06ef042e7bcd..5e23a1e0c987 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -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); \ diff --git a/Misc/NEWS b/Misc/NEWS index a5b2a5ff32ea..6c748f953992 100644 --- 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.