diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-11-23 14:25:24 +0100 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-11-23 14:25:24 +0100 |
commit | bba2fd540bc211bbcea1ad1dfc552fe32021097d (patch) | |
tree | 293479c684d987a103a6f5bc7bc2fef33c027cd0 /package/php/php.mk | |
parent | 1dd9d9f34563d93868af7fffc02f22d6c65b83a1 (diff) | |
download | buildroot-novena-bba2fd540bc211bbcea1ad1dfc552fe32021097d.tar.gz buildroot-novena-bba2fd540bc211bbcea1ad1dfc552fe32021097d.zip |
php: fix pdo sqlite compilation with !BR2_LARGEFILE
Similar fix as with the sqlite package.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/php/php.mk')
-rw-r--r-- | package/php/php.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/php/php.mk b/package/php/php.mk index 2668774d3..eaf39c36a 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 |