From f33fec1b7ffcf15087971c3ed26fd45d3385a126 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 5 Oct 2006 12:01:07 +0000 Subject: [PATCH] link to libpython on windows, remove useless .libs, remove -no-undefined link to libpython on windows, remove useless .libs, remove -no-undefined --- python/aubio/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: -- 2.26.2