diff --git a/build/rules_common.mk b/build/rules_common.mk index c886ca0f801..32ce8086b51 100644 --- a/build/rules_common.mk +++ b/build/rules_common.mk @@ -32,7 +32,7 @@ mkinstalldirs = $(top_srcdir)/build/shtool mkdir -p INSTALL = $(top_srcdir)/build/shtool install -c INSTALL_DATA = $(INSTALL) -m 644 -DEFS = -I. -I$(srcdir) -I$(top_builddir)/main +DEFS = -I. -I$(srcdir) -I$(top_builddir)/main -I$(top_srcdir) moduledir = $(EXTENSION_DIR) diff --git a/configure.in b/configure.in index 58432aecbbb..13f4f61c832 100644 --- a/configure.in +++ b/configure.in @@ -669,7 +669,7 @@ else fi if test "$abs_srcdir" != "$abs_builddir"; then - INCLUDES="$INCLUDES -I\$(top_srcdir)/main -I\$(top_srcdir)/Zend -I\$(top_srcdir)" + INCLUDES="$INCLUDES -I\$(top_srcdir)/main -I\$(top_srcdir)/Zend" INCLUDES="$INCLUDES -I\$(top_srcdir)/TSRM" fi