summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMartijn van Beurden <mvanb1@gmail.com>2022-01-01 15:13:14 +0100
committerMartijn van Beurden <mvanb1@gmail.com>2022-04-15 09:36:15 +0200
commit7dd7f94822c5bbb9284f4240878c07c383ef524f (patch)
treea4df3649926698a8800d1a3d58367938107624ef /configure.ac
parentecede0bc72bd051d3c3e05440beb35c0c34b4b34 (diff)
downloadflac-7dd7f94822c5bbb9284f4240878c07c383ef524f.tar.gz
Fix building both static and shared libs on MinGW with autotools
When building both static and shared libs on MinGW with autotools, the build broke down without any error message. This commit makes such a build work
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 8ca4d7b7..dfd88e54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -531,7 +531,7 @@ AH_VERBATIM([FLAC_API_EXPORTS],
#endif
#endif])
-if test x$enable_shared != "xyes" ; then
+if test x$enable_static = "xyes" ; then
dnl for correct FLAC_API
CPPFLAGS="-DFLAC__NO_DLL $CPPFLAGS"
fi