summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-07-30 01:37:13 +0000
committerDavid Robillard <d@drobilla.net>2008-07-30 01:37:13 +0000
commit47bee0f7ef3f3e40ea91bbfaff5a3d70272fa831 (patch)
tree71b166585b1ed527aa6e5b57864209d23b641a34
parentd592a574ab05b6000e6866a24f881eae54328b78 (diff)
downloadlilv-47bee0f7ef3f3e40ea91bbfaff5a3d70272fa831.tar.gz
lilv-47bee0f7ef3f3e40ea91bbfaff5a3d70272fa831.tar.bz2
lilv-47bee0f7ef3f3e40ea91bbfaff5a3d70272fa831.zip
Fix building with language bindings.
git-svn-id: http://svn.drobilla.net/lad/slv2@1312 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--swig/Makefile.am4
1 files 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