22 lines
734 B
Plaintext
22 lines
734 B
Plaintext
$OpenBSD: patch-configure,v 1.2 2010/07/09 09:20:53 sthen Exp $
|
|
--- configure.orig Thu Nov 12 01:42:10 2009
|
|
+++ configure Sun Jun 20 19:08:23 2010
|
|
@@ -14004,7 +14004,7 @@ if test "${ac_cv_lib_tiff_TIFFClientOpen+set}" = set;
|
|
$as_echo_n "(cached) " >&6
|
|
else
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
-LIBS="-ltiff -lz $LIBS"
|
|
+LIBS="-ltiff -ljpeg -lz $LIBS"
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
/* confdefs.h. */
|
|
_ACEOF
|
|
@@ -14170,7 +14170,7 @@ _ACEOF
|
|
# Disable dynamic jpeg since we're linking it explicitly
|
|
jpg_lib=''
|
|
fi
|
|
- IMG_LIBS="-ltiff -lz $IMG_LIBS"
|
|
+ IMG_LIBS="-ltiff -ljpeg -lz $IMG_LIBS"
|
|
fi
|
|
fi
|
|
if test x$enable_jpg = xyes -a x$have_jpg_hdr = xyes -a x$have_jpg_lib = xyes; then
|