From: Peter Korsgaard Date: Mon, 23 Nov 2009 13:25:24 +0000 (+0100) Subject: php: fix pdo sqlite compilation with !BR2_LARGEFILE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bba2fd540bc211bbcea1ad1dfc552fe32021097d;p=buildroot.git php: fix pdo sqlite compilation with !BR2_LARGEFILE Similar fix as with the sqlite package. Signed-off-by: Peter Korsgaard --- diff --git a/package/php/php.mk b/package/php/php.mk index 2668774d31..eaf39c36a8 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -156,6 +156,9 @@ else PHP_CONF_OPT += --with-pdo-sqlite endif PHP_CONF_ENV += CFLAGS+=" -DSQLITE_OMIT_LOAD_EXTENSION" +ifneq ($(BR2_LARGEFILE),y) + PHP_CONF_ENV += CFLAGS+=" -DSQLITE_DISABLE_LFS" +endif endif ifeq ($(BR2_PACKAGE_PHP_EXT_PDO_MYSQL),y) PHP_CONF_OPT += --with-pdo-mysql=$(STAGING_DIR)/usr