summaryrefslogtreecommitdiff
path: root/ext/sqlite3/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sqlite3/config.m4')
-rw-r--r--ext/sqlite3/config.m45
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/sqlite3/config.m4 b/ext/sqlite3/config.m4
index 0adb01b..5a52170 100644
--- a/ext/sqlite3/config.m4
+++ b/ext/sqlite3/config.m4
@@ -72,8 +72,7 @@ if test $PHP_SQLITE3 != "no"; then
dnl if test "$PHP_MAJOR_VERSION" -ge "6"; then
dnl other_flags="$other_flags -DSQLITE_ENABLE_ICU=1"
dnl fi
-
- PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite -I@ext_builddir@/libsqlite $other_flags $threadsafe_flags $debug_flags"
+ PHP_SQLITE3_CFLAGS="-I@ext_srcdir@/libsqlite $other_flags $threadsafe_flags $debug_flags"
fi
AC_DEFINE(HAVE_SQLITE3,1,[ ])
@@ -81,6 +80,6 @@ dnl fi
sqlite3_sources="sqlite3.c $sqlite3_extra_sources"
PHP_NEW_EXTENSION(sqlite3, $sqlite3_sources, $ext_shared,,$PHP_SQLITE3_CFLAGS)
+ PHP_ADD_BUILD_DIR([$ext_builddir/libsqlite])
PHP_SUBST(SQLITE3_SHARED_LIBADD)
-
fi