Replace -soname with -h for Solaris compatibility. Fixes #1034496.
Backported to 2.3.
This commit is contained in:
parent
a80a2c8e67
commit
4d9559a47e
|
@ -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); \
|
||||
|
|
Loading…
Reference in New Issue