changeset 29118:a07478d5719d

Swap the order of -L and -l so that Solaris can find the Python libraries. Patch from Paul "aab" Townsend. Closes #10869, #10716.
author Paul Aurich <paul@darkrain42.org>
date Wed, 02 Dec 2009 19:38:07 +0000
parents 5695a3626c1a
children 0aa6080a6379
files ChangeLog configure.ac
diffstat 2 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Dec 01 21:56:55 2009 +0000
+++ b/ChangeLog	Wed Dec 02 19:38:07 2009 +0000
@@ -1,6 +1,9 @@
 Pidgin and Finch: The Pimpin' Penguin IM Clients That're Good for the Soul
 
 version 2.6.5 (??/??/20??):
+	General:
+	* Build-time fixes for Solaris.  (Paul Townsend)
+
 	XMPP:
 	* When getting info on a domain-only (server) JID, show uptime
 	  (when given by the result of the "last query") and don't show status as
--- a/configure.ac	Tue Dec 01 21:56:55 2009 +0000
+++ b/configure.ac	Wed Dec 02 19:38:07 2009 +0000
@@ -1470,7 +1470,7 @@
 		AC_CHECK_LIB(pthread, pthread_create, )
 		AC_CHECK_LIB(util, openpty, )
 		AC_CHECK_LIB(db, dbopen, )
-		PY_LIBS="-lpython$PY_VERSION -L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config"
+		PY_LIBS="-L$PY_EXEC_PREFIX/lib/python$PY_VERSION/config -lpython$PY_VERSION"
 		PY_CFLAGS="-I$PY_PREFIX/include/python$PY_VERSION"
 		AC_DEFINE(USE_PYTHON, [1], [Define if python headers are available.])
 		AC_MSG_RESULT(ok)