Skip to content

Commit

Permalink
Fixed linking JPEG library
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 5, 2007
1 parent f42c06c commit 7d521e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions configure.in
Expand Up @@ -245,12 +245,11 @@ if test x$enable_tif = xyes -a x$have_libtiff = xyes; then
if test x$have_libjpeg = xyes; then
# Disable dynamic jpeg since we're linking it explicitly
jpg_lib=''
IMG_LIBS="-ljpeg $IMG_LIBS"
fi
IMG_LIBS="-ltiff -lz"
IMG_LIBS="-ltiff -lz $IMG_LIBS"
fi
fi
if test x$enable_jpg = xyes -a x$have_libjpg = xyes; then
if test x$enable_jpg = xyes -a x$have_libjpeg = xyes; then
if test x$enable_jpg_shared = xyes && test x$jpg_lib != x; then
echo "-- dynamic libjpeg -> $jpg_lib"
AC_DEFINE_UNQUOTED(LOAD_JPG_DYNAMIC, "$jpg_lib")
Expand Down

0 comments on commit 7d521e0

Please sign in to comment.