shithub: aubio

Download patch

ref: f33fec1b7ffcf15087971c3ed26fd45d3385a126
parent: 11d5b960e9a73df4167140dcc4bf1720c2595c48
author: Paul Brossier <piem@altern.org>
date: Thu Oct 5 08:01:07 EDT 2006

link to libpython on windows, remove useless .libs, remove -no-undefined
link to libpython on windows, remove useless .libs, remove -no-undefined


--- a/python/aubio/Makefile.am
+++ b/python/aubio/Makefile.am
@@ -43,7 +43,7 @@
 _aubiowrapper.so: _aubiowrapper.la
 
 if MINGW
-SWLDFLAGS = -lpython${PYTHON_VERSION}
+SWLDFLAGS = -L${prefix}/bin -lpython${PYTHON_VERSION}
 else
 if DARWIN
 SWLDFLAGS = -bundle -framework Python
@@ -65,13 +65,13 @@
 	-I${prefix}/include
 
 AUBIO_LDFLAGS = $(SWLDFLAGS) \
-	-L$(top_builddir)/ext/.libs -laubioext \
-	-L$(top_builddir)/src/.libs -laubio
+	-L$(top_builddir)/ext -laubioext \
+	-L$(top_builddir)/src -laubio
 
 python_DATA = aubiowrapper.py
 python_LTLIBRARIES = _aubiowrapper.la
 
-_aubiowrapper_la_LDFLAGS = -no-undefined -module -avoid-version $(AUBIO_LDFLAGS) 
+_aubiowrapper_la_LDFLAGS = -module -avoid-version $(AUBIO_LDFLAGS) 
 _aubiowrapper_la_SOURCES = aubio_wrap.c
 
 aubio_wrap.c aubiowrapper.py: