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:
parent
1dd9d9f345
commit
bba2fd540b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user