diff --git a/configure b/configure
index 6ef6436ec2f9b3cac8d71c8f694c94ece7372348..975699f9a4263fdd8ae4c6b5b6ed9a09c349d4db 100755
--- a/configure
+++ b/configure
@@ -1788,6 +1788,7 @@ test_deps _muxer _demuxer                                               \
     yuv4mpegpipe=yuv4mpeg                                               \
 
 ac3_fixed_test_deps="ac3_fixed_encoder ac3_decoder"
+flashsv2_test_deps="zlib"
 mpg_test_deps="mpeg1system_muxer mpegps_demuxer"
 pp_test_deps="mp_filter"
 pp2_test_deps="mp_filter"