diff options
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | configure.in | 6 | ||||
-rw-r--r-- | src/Makefile.am | 2 |
3 files changed, 7 insertions, 6 deletions
@@ -26,14 +26,15 @@ Installation Type: -./configure --enable-pd_example --enable-vector +./configure --enable-pd_example --enable-fft make sudo make install There following configure flags are optional: --enable-pd_example (to build the PD example) ---enable-vector (to enable functions that require fftw3) +--enable-fft (to enable functions that require fftw3) +--enable-simpletest (to build the simpletest example) Disclaimer ---------- diff --git a/configure.in b/configure.in index 81dc360..69cc958 100644 --- a/configure.in +++ b/configure.in @@ -64,8 +64,8 @@ AC_ARG_ENABLE(simpletest, # age to 0. XTRACT_SO_VERSION=0:0:0 -CFLAGS="$CFLAGS -pedantic -ansi -O3" -LDFLAGS="$LDFLAGS -lm --allow-shlib-undefined" +CFLAGS="$CFLAGS -pedantic -ansi" +LDFLAGS="$LDFLAGS -lm" AC_ARG_WITH(pd_dir, [ --with-pd-dir=path pd header path (default=/usr/local/include) ], @@ -184,7 +184,7 @@ else ;; *86-*-darwin*) PD_CFLAGS="$PD_CFLAGS -DUNIX -Wall -Wimplicit -Wunused -Wmissing-prototypes" - PD_LDFLAGS="$PD_LDFLAGS -bundle -arch i686 -undefined suppress -flat_namespace" + PD_LDFLAGS="$PD_LDFLAGS -dynamiclib -mmacosx-version-min=10.3 -undefined dynamic_lookup -single_module" PD_SUFFIX=pd_darwin ;; *-*-darwin*) diff --git a/src/Makefile.am b/src/Makefile.am index ddfdb2e..3cb9e77 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -12,4 +12,4 @@ endif lib_LTLIBRARIES = libxtract.la libxtract_la_CFLAGS = $(FFT_DEFINE) libxtract_la_SOURCES = $(SOURCES) -libxtract_la_LDFLAGS = -shared +libxtract_la_LDFLAGS = -export-dynamic |