shithub: libsamplerate

Download patch

ref: 356c10c63ca6f2cfda41ec551108430956ac2db6
parent: 401c9d6ba23498cf1e350eef1a73b7214875bbc5
author: Ozkan Sezer <sezeroz@gmail.com>
date: Tue Oct 27 17:28:10 EDT 2020

configure.ac: add -export-symbols Win32/libsamplerate-0.def to link flags

--- a/configure.ac
+++ b/configure.ac
@@ -249,6 +249,8 @@
 		# Disable -Wall for Apple Darwin/Rhapsody.
 		# System headers on these systems are broken.
 		AS_CASE([${host_os}],
+			[mingw*|cygwin*], [
+				SHLIB_VERSION_ARG="-export-symbols \$(top_builddir)/Win32/libsamplerate-0.def"],
 			[darwin* | rhapsody*], [
 				temp_CFLAGS=`echo $CFLAGS | sed "s/-Wall//"`
 				CFLAGS=$temp_CFLAGS],