summaryrefslogtreecommitdiffstats
path: root/external/postgresql/internal-zlib.patch.1
blob: ac2b728e1314428626108c236c01dab8cd1389f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff -up postgresql/configure.dt postgresql/configure
--- postgresql/configure.dt	2016-11-03 17:34:17.282388226 +0100
+++ postgresql/configure	2016-11-03 17:34:35.004202484 +0100
@@ -8566,13 +8566,13 @@ fi
 
 if test "$with_zlib" = yes; then
 
-{ $as_echo "$as_me:$LINENO: checking for inflate in -lz" >&5
-$as_echo_n "checking for inflate in -lz... " >&6; }
+{ $as_echo "$as_me:$LINENO: checking for inflate in -lzlib" >&5
+$as_echo_n "checking for inflate in -lzlib... " >&6; }
 if test "${ac_cv_lib_z_inflate+set}" = set; then
   $as_echo_n "(cached) " >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lz  $LIBS"
+LIBS="-lzlib  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -8636,7 +8636,7 @@ if test "x$ac_cv_lib_z_inflate" = x""yes
 #define HAVE_LIBZ 1
 _ACEOF
 
-  LIBS="-lz $LIBS"
+  LIBS="-lzlib $LIBS"
 
 else
   { { $as_echo "$as_me:$LINENO: error: zlib library not found