From 8e25b1b2e846b3b02f0866b1ccbed0be64893462 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 30 May 2005 08:07:58 +0000 Subject: [PATCH] fix compilation of swig/python on macosx --- python/aubio/Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/python/aubio/Makefile.am b/python/aubio/Makefile.am index 2136ffa6..2998b68f 100644 --- a/python/aubio/Makefile.am +++ b/python/aubio/Makefile.am @@ -8,18 +8,19 @@ CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py all: _aubiowrapper.so # removed -Wall -Wmissing-prototypes -Wmissing-declarations -SWCFLAGS = -DJACK_SUPPORT -Werror -Wno-char-subscripts -Wno-unknown-pragmas \ +CFLAGS = -DJACK_SUPPORT -Werror -Wno-char-subscripts \ + -Wno-unknown-pragmas $(SWCFLAGS) \ -I../../src -I../../ext \ -I/usr/include/python${PYTHON_VERSION} \ -I${prefix}/include/python${PYTHON_VERSION} \ -I/usr/include \ -I${prefix}/include -SWLDFLAGS = -shared -L../../ext/.libs -laubioext -L../../src/.libs -laubio +LDFLAGS = $(SWLDFLAGS) -L../../ext/.libs -laubioext -L../../src/.libs -laubio aubio_wrap.c: $(SWIG) -outdir . -o aubio_wrap.c -python ../../swig/aubio.i _aubiowrapper.so: aubio_wrap.c - $(CC) $(SWCFLAGS) -c aubio_wrap.c - $(CC) $(SWLDFLAGS) aubio_wrap.o -o _aubiowrapper.so + $(CC) $(CFLAGS) -c aubio_wrap.c + $(CC) $(LDFLAGS) aubio_wrap.o -o _aubiowrapper.so -- 2.26.2