Skip to content

Commit

Permalink
configure.ac: fix out-of-tree builds with mingw
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero authored and evpobr committed Dec 1, 2020
1 parent fdba90b commit 56bdf05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ AS_IF([test "x$ax_cv_c_compiler_vendor" = "xgnu"], [
# OS specific tweaks.
AS_CASE([${host_os}],
[mingw*|cygwin*], [
SHLIB_VERSION_ARG="-export-symbols \$(top_builddir)/Win32/libsamplerate-0.def"],
SHLIB_VERSION_ARG="-export-symbols \$(top_srcdir)/Win32/libsamplerate-0.def"],
[darwin*], [dnl lots of warnings from xxx_coeff.h, otherwise:
temp_CFLAGS=`echo $CFLAGS | sed "s/-Wshorten-64-to-32//"`
CFLAGS=$temp_CFLAGS],
Expand Down

0 comments on commit 56bdf05

Please sign in to comment.