projects
/
buildroot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dd9d9f
)
php: fix pdo sqlite compilation with !BR2_LARGEFILE
author
Peter Korsgaard
<jacmet@sunsite.dk>
Mon, 23 Nov 2009 13:25:24 +0000
(14:25 +0100)
committer
Peter Korsgaard
<jacmet@sunsite.dk>
Mon, 23 Nov 2009 13:25:24 +0000
(14:25 +0100)
Similar fix as with the sqlite package.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/php/php.mk
patch
|
blob
|
history
diff --git
a/package/php/php.mk
b/package/php/php.mk
index 2668774d3198ca6eef6b3955ff57f9485d159142..eaf39c36a8976890e8310a931dddc6485a18a3d7 100644
(file)
--- 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