summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2002-08-04 12:38:50 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2002-08-04 12:38:50 (GMT)
commitd6359c55cc69446bb2f61ca7bb5addbefe17a4b4 (patch)
tree04ba1f7a053966249ee392664a2b36fe3e82032b /configure.in
parent7d6e19d70c8137b6c7635777d2274fef85276c1f (diff)
downloadcpython-d6359c55cc69446bb2f61ca7bb5addbefe17a4b4.zip
cpython-d6359c55cc69446bb2f61ca7bb5addbefe17a4b4.tar.gz
cpython-d6359c55cc69446bb2f61ca7bb5addbefe17a4b4.tar.bz2
Always link libpython.so with LIBS. Fixes #589422.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index f2f47e2..786086b 100644
--- a/configure.in
+++ b/configure.in
@@ -1043,14 +1043,16 @@ AC_MSG_RESULT($CFLAGSFORSHARED)
# SHLIBS are libraries (except -lc and -lm) to link to the python shared
# library (with --enable-shared).
# For platforms on which shared libraries are not allowed to have unresolved
-# symbols, this must be set to $(LIBS) (expanded by make).
+# symbols, this must be set to $(LIBS) (expanded by make). We do this even
+# if it is not required, since it creates a dependency of the shared library
+# to LIBS. This, in turn, means that applications linking the shared libpython
+# don't need to link LIBS explicitly. The default should be only changed
+# on systems where this approach causes problems.
AC_SUBST(SHLIBS)
AC_MSG_CHECKING(SHLIBS)
case "$ac_sys_system" in
- atheos*)
- SHLIBS='$(LIBS)';;
*)
- SHLIBS='';;
+ SHLIBS='$(LIBS)';;
esac
AC_MSG_RESULT($SHLIBS)