From 47bee0f7ef3f3e40ea91bbfaff5a3d70272fa831 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 30 Jul 2008 01:37:13 +0000 Subject: Fix building with language bindings. git-svn-id: http://svn.drobilla.net/lad/slv2@1312 a436a847-0d15-0410-975c-d299462d15a1 --- swig/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/swig/Makefile.am b/swig/Makefile.am index f98f84e..3555c3a 100644 --- a/swig/Makefile.am +++ b/swig/Makefile.am @@ -7,7 +7,7 @@ all: python mzscheme chicken if WITH_PYTHON python: swig -DPYTHON -Wall -python -I.. -o slv2_python.c -oh slv2_python.h slv2.i - gcc -fPIC -shared $(PYTHON_CPPFLAGS) $(PYTHON_EXTRA_LDFLAGS) \ + gcc -fPIC -shared -I.. $(PYTHON_CPPFLAGS) $(PYTHON_EXTRA_LDFLAGS) \ $(PYTHON_EXTRA_LIBS) $(PYTHON_EXTRA_LDFLAGS) \ slv2_python.c ../src/.libs/libslv2.so -o _slv2.so else @@ -18,7 +18,7 @@ endif # WITH_PYTHON if WITH_MZSCHEME mzscheme: swig -DMZSCHEME -Wall -mzscheme -I.. -o slv2_mzscheme.c -oh slv2_mzscheme.h slv2.i - gcc -fPIC -shared -Iplt \ + gcc -fPIC -shared -Iplt -I.. \ -I/usr/include/plt slv2_mzscheme.c -o libslv2_mzscheme.so endif # WITH_MZSCHEME -- cgit v1.2.1