X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=configure;h=e16a9b761e7257551b39f7f60455e9d2d374afe4;hp=fa77eb8fd4b7b406f2b3a097137c4c5001c285f9;hb=b7763c94e23bbb7d27e995e7a721f31b2ba8cb13;hpb=3071fc04fbf3c43f18291cb8e61b566cdf85d762 diff --git a/configure b/configure index fa77eb8f..e16a9b76 100755 --- a/configure +++ b/configure @@ -493,8 +493,7 @@ else fi if ! pkg-config --exists zlib; then - ${CC} ${zlib_cflags} -o compat/gen_zlib_pc \ - "$srcdir"/compat/gen_zlib_pc.c ${zlib_ldflags} > /dev/null 2>&1 && + ${CC} -o compat/gen_zlib_pc "$srcdir"/compat/gen_zlib_pc.c >/dev/null 2>&1 && compat/gen_zlib_pc > compat/zlib.pc && PKG_CONFIG_PATH="$PKG_CONFIG_PATH":compat && export PKG_CONFIG_PATH