ref: 84e7141f5510349315d79fdddc1bfd7ff797212d
parent: 8bfee002a77496c852ff88e6c7c2a6615e72900b
author: Erik de Castro Lopo <erikd@miles>
date: Wed Oct 6 04:55:03 EDT 2004
Add -no-undefined to libsmaplerate_la_LDFLAGS to allow DLL builds on win32/mingw.
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -13,8 +13,9 @@
SRC_SOURCES = samplerate.c src_sinc.c $(COEFF_HDRS) src_zoh.c src_linear.c
+# MinGW requires -no-undefined if a DLL is to be built.
+libsamplerate_la_LDFLAGS = -no-undefined version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@
libsamplerate_la_SOURCES = $(SRC_SOURCES) $(noinst_HEADERS)
-libsamplerate_la_LDFLAGS = -version-info @SHARED_VERSION_INFO@ @SHLIB_VERSION_ARG@
libsamplerate_la_LIBADD = -lm
#-------------------------------------------------------------------------------