Skip to content

Commit 7263c22

Browse files
author
Joe Orton
committed
More PHP_LIBDIR fixes for lib64 platforms.
1 parent d91a531 commit 7263c22

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/gd/config.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ AC_DEFUN(PHP_GD_T1LIB,[
220220
],[
221221
AC_MSG_ERROR([Problem with libt1.(a|so). Please check config.log for more information.])
222222
],[
223-
-L$GD_T1_DIR/lib
223+
-L$GD_T1_DIR/$PHP_LIBDIR
224224
])
225225
fi
226226
])
@@ -363,7 +363,7 @@ dnl Header path
363363
done
364364

365365
dnl Library path
366-
for i in lib/gd1.3 lib/gd lib gd1.3 gd ""; do
366+
for i in $PHP_LIBDIR/gd1.3 $PHP_LIBDIR/gd $PHP_LIBDIR gd1.3 gd ""; do
367367
test -f "$PHP_GD/$i/libgd.$SHLIB_SUFFIX_NAME" -o -f "$PHP_GD/$i/libgd.a" && GD_LIB="$PHP_GD/$i"
368368
done
369369

0 commit comments

Comments
 (0)