summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libsamplerate.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/libsamplerate.mk b/src/libsamplerate.mk
index ebe7636..4eb3d37 100644
--- a/src/libsamplerate.mk
+++ b/src/libsamplerate.mk
@@ -20,7 +20,11 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- cd '$(1)' && ./configure \
- $(MXE_CONFIGURE_OPTS)
- $(MAKE) -C '$(1)' -j 1 install LDFLAGS='-no-undefined'
+ # fftw and sndfile are only used for tests/examples
+ cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
+ $(MXE_CONFIGURE_OPTS) \
+ --disable-fftw \
+ --disable-sndfile
+ $(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)' $(MXE_DISABLE_PROGRAMS) $(MXE_DISABLE_DOCS)
+ $(MAKE) -C '$(BUILD_DIR)' -j 1 install $(MXE_DISABLE_PROGRAMS) $(MXE_DISABLE_DOCS)
endef