openbsd-ports/devel/sdl-image/patches/patch-configure
2012-04-05 11:40:46 +00:00

22 lines
747 B
Plaintext

$OpenBSD: patch-configure,v 1.3 2012/04/05 11:40:46 ajacoutot Exp $
--- configure.orig Fri Jan 20 20:51:33 2012
+++ configure Sat Mar 17 12:45:49 2012
@@ -14313,7 +14313,7 @@ if test "${ac_cv_lib_tiff_TIFFClientOpen+set}" = set;
echo $ECHO_N "(cached) $ECHO_C" >&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
@@ -14986,7 +14986,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