diff options
author | Martijn van Beurden <mvanb1@gmail.com> | 2022-01-01 15:13:14 +0100 |
---|---|---|
committer | Martijn van Beurden <mvanb1@gmail.com> | 2022-04-15 09:36:15 +0200 |
commit | 7dd7f94822c5bbb9284f4240878c07c383ef524f (patch) | |
tree | a4df3649926698a8800d1a3d58367938107624ef /configure.ac | |
parent | ecede0bc72bd051d3c3e05440beb35c0c34b4b34 (diff) | |
download | flac-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.ac | 2 |
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 |