You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by aj...@apache.org on 2006/10/02 13:22:12 UTC
svn commit: r451980 -
/incubator/tuscany/cpp/sca/runtime/extensions/python/src/Makefile.am
Author: ajborley
Date: Mon Oct 2 04:22:12 2006
New Revision: 451980
URL: http://svn.apache.org/viewvc?view=rev&rev=451980
Log:
Update to Python extension makefile. Takes the PYTHON_VERSION environment variable so the correct python lib is used.
Modified:
incubator/tuscany/cpp/sca/runtime/extensions/python/src/Makefile.am
Modified: incubator/tuscany/cpp/sca/runtime/extensions/python/src/Makefile.am
URL: http://svn.apache.org/viewvc/incubator/tuscany/cpp/sca/runtime/extensions/python/src/Makefile.am?view=diff&rev=451980&r1=451979&r2=451980
==============================================================================
--- incubator/tuscany/cpp/sca/runtime/extensions/python/src/Makefile.am (original)
+++ incubator/tuscany/cpp/sca/runtime/extensions/python/src/Makefile.am Mon Oct 2 04:22:12 2006
@@ -25,10 +25,13 @@
tuscany/sca/python/model/PythonReferenceBinding.cpp \
tuscany/sca/python/model/PythonServiceBinding.cpp
-
+# Need python env varibles set. e.g:
+# PYTHON_LIB=/usr/lib
+# PYTHON_INCLUDE=/usr/include/python2.4
+# PYTHON_VERSION=python2.4
libtuscany_sca_python_la_LIBADD = -L${TUSCANY_SDOCPP}/lib -ltuscany_sdo \
-L$(top_builddir)/runtime/core/src -ltuscany_sca \
- -L${PYTHON_LIB} -lpython2.3
+ -L${PYTHON_LIB} -l${PYTHON_VERSION}
INCLUDES = -Imodel -I$(top_builddir)/runtime/core/src \
-I${TUSCANY_SDOCPP}/include \
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org