mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +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)
|
libpython$(VERSION).so: $(LIBRARY_OBJS)
|
||||||
if test $(INSTSONAME) != $(LDLIBRARY); then \
|
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) $@; \
|
$(LN) -f $(INSTSONAME) $@; \
|
||||||
else\
|
else\
|
||||||
$(LDSHARED) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \
|
$(LDSHARED) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM); \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue