Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(41502)

Unified Diff: Makefile.pre.in

Issue 16754: Incorrect shared library extension on linux
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/distutils/tests/test_build_ext.py ('k') | Python/dynload_hpux.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Makefile.pre.in Tue Mar 19 17:22:51 2013 -0700
+++ b/Makefile.pre.in Tue Mar 19 18:36:56 2013 -0700
@@ -125,7 +125,9 @@
CONFINCLUDEPY= $(CONFINCLUDEDIR)/python$(LDVERSION)
# Symbols used for using shared libraries
-SO= @SO@
+SHLIB_SUFFIX= @SHLIB_SUFFIX@
+EXT_SUFFIX= @EXT_SUFFIX@
+SO= $(SHLIB_SUFFIX)
LDSHARED= @LDSHARED@ $(PY_LDFLAGS)
BLDSHARED= @BLDSHARED@ $(PY_LDFLAGS)
LDCXXSHARED= @LDCXXSHARED@
@@ -1188,7 +1190,7 @@
done
@if test -d $(LIBRARY); then :; else \
if test "$(PYTHONFRAMEWORKDIR)" = no-framework; then \
- if test "$(SO)" = .dll; then \
+ if test "$(SHLIB_SUFFIX)" = .dll; then \
$(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \
else \
$(INSTALL_DATA) $(LIBRARY) $(DESTDIR)$(LIBPL)/$(LIBRARY) ; \
« no previous file with comments | « Lib/distutils/tests/test_build_ext.py ('k') | Python/dynload_hpux.c » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+