From: Paul Brossier Date: Thu, 5 Oct 2006 12:01:07 +0000 (+0000) Subject: link to libpython on windows, remove useless .libs, remove -no-undefined X-Git-Tag: bzr2git~544 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f33fec1b7ffcf15087971c3ed26fd45d3385a126;p=aubio.git link to libpython on windows, remove useless .libs, remove -no-undefined link to libpython on windows, remove useless .libs, remove -no-undefined --- diff --git a/python/aubio/Makefile.am b/python/aubio/Makefile.am index 41be254f..bd6b81e0 100644 --- a/python/aubio/Makefile.am +++ b/python/aubio/Makefile.am @@ -43,7 +43,7 @@ nodist_pkgpython_PYTHON = aubiowrapper.py _aubiowrapper.so _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 @@ AM_CFLAGS = @AUBIO_CFLAGS@ $(NOWARN_CFLAGS) $(SWCFLAGS) \ -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: