Patch patch-inc-dirs for GD related Bug #74443
Patch version 2017-04-14 17:23 UTC
Return to Bug #74443 |
Download this patch
Patch Revisions:
Developer: mi+php@aldan.algebra.com
--- config.m4 2017-03-14 07:26:09.000000000 -0400
+++ config.m4 2017-04-14 12:48:12.529657000 -0400
@@ -360,5 +360,5 @@
PHP_ADD_BUILD_DIR($ext_builddir/libgd)
- GDLIB_CFLAGS="-I$ext_srcdir/libgd $GDLIB_CFLAGS"
+ GDLIB_CFLAGS="-I../.. -I$ext_srcdir/libgd $GDLIB_CFLAGS"
GD_HEADER_DIRS="ext/gd/ ext/gd/libgd/"
PHP_TEST_BUILD(foobar, [], [
@@ -366,5 +366,5 @@
], [ $GD_SHARED_LIBADD ], [char foobar () {}])
else
GD_HEADER_DIRS="ext/gd/"
- GDLIB_CFLAGS="-I$GD_INCLUDE $GDLIB_CFLAGS"
+ GDLIB_CFLAGS="-I../.. -I$GD_INCLUDE $GDLIB_CFLAGS"
PHP_ADD_INCLUDE($GD_INCLUDE)
|