mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
php: fix pdo sqlite compilation with !BR2_LARGEFILE
Similar fix as with the sqlite package. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user