Commit bba2fd54 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

php: fix pdo sqlite compilation with !BR2_LARGEFILE



Similar fix as with the sqlite package.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 1dd9d9f3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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