From 6f83346230671d6bb6ac3d904b517adc97840753 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sun, 26 Sep 2004 17:22:11 +0000 Subject: [PATCH] Replace -soname with -h for Solaris compatibility. Fixes #1034496. --- Makefile.pre.in | 2 +- Misc/NEWS | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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. -- 2.47.3