configure: add missing zlib extralibs to the libmysofa check
authorJames Almer <jamrial@gmail.com>
Fri, 13 Oct 2017 14:22:44 +0000 (11:22 -0300)
committerJames Almer <jamrial@gmail.com>
Fri, 13 Oct 2017 14:22:54 +0000 (11:22 -0300)
Should fix checks with static builds.

Signed-off-by: James Almer <jamrial@gmail.com>
configure

index dc486ed..64fd088 100755 (executable)
--- a/configure
+++ b/configure
@@ -6009,7 +6009,7 @@ enabled libmfx            && { use_pkg_config libmfx libmfx "mfx/mfxvideo.h" MFX
                                { require libmfx "mfx/mfxvideo.h" MFXInit -llibmfx && warn "using libmfx without pkg-config"; } }
 enabled libmodplug        && require_pkg_config libmodplug libmodplug libmodplug/modplug.h ModPlug_Load
 enabled libmp3lame        && require "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame
-enabled libmysofa         && require libmysofa "mysofa.h" mysofa_load -lmysofa
+enabled libmysofa         && require libmysofa "mysofa.h" mysofa_load -lmysofa $zlib_extralibs
 enabled libnpp            && { check_lib libnpp npp.h nppGetLibVersion -lnppig -lnppicc -lnppc ||
                                check_lib libnpp npp.h nppGetLibVersion -lnppi -lnppc ||
                                die "ERROR: libnpp not found"; }