mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Replace -soname with -h for Solaris compatibility. Fixes #1034496.
Backported to 2.3.
This commit is contained in:
parent
a80a2c8e67
commit
4d9559a47e
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue