Library flags are kept in MOD_DEFLATE_LDADD, not
globally in LDFLAGS.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1142726 13f79535-47bb-0310-9956-
ffa450edef68
APR_SETVAR(MOD_DEFLATE_LDADD, [$ap_zlib_ldflags -lz])],
[AC_MSG_RESULT(not found)
enable_deflate=no
- INCLUDES=$ap_save_includes
- LDFLAGS=$ap_save_ldflags])
- APR_REMOVEFROM(LIBS, [-lz])
+ INCLUDES=$ap_save_includes])
+ LDFLAGS=$ap_save_ldflags
CPPFLAGS=$ap_save_cppflags
+ APR_REMOVEFROM(LIBS, [-lz])
fi
])