[sword-cvs] sword/bindings/swig/package Makefile.am,1.1,1.2

sword@www.crosswire.org sword@www.crosswire.org
Tue, 10 Feb 2004 05:04:15 -0700


Update of /cvs/core/sword/bindings/swig/package
In directory www:/tmp/cvs-serv19081

Modified Files:
	Makefile.am 
Log Message:
fixed Python Swig bindings

Index: Makefile.am
===================================================================
RCS file: /cvs/core/sword/bindings/swig/package/Makefile.am,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- Makefile.am	17 Jul 2003 13:47:03 -0000	1.1
+++ Makefile.am	10 Feb 2004 12:04:13 -0000	1.2
@@ -84,7 +84,8 @@
 	@echo "	maintainer_email = \"sword-devel@crosswire.org\"," >> python/setup.py
 	@echo "	url = \"http://www.crosswire.org/sword\"," >> python/setup.py
 	@echo "	py_modules = [\"Sword\"]," >> python/setup.py
-	@echo "	ext_modules = [Extension(\"sword\", [\"Sword.cxx\"]," >> python/setup.py
+	@echo "	ext_modules = [Extension(\"_Sword\", [\"Sword.cxx\"]," >> python/setup.py
+	@echo " libraries=[('sword')], " >> python/setup.py
 	@echo "	define_macros=[('SWIG',1)])], " >> python/setup.py
 	@echo ")" >> python/setup.py