summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2012-05-01 08:56:45 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2012-05-01 08:56:45 (GMT)
commit1069f8276585131cef852603e93b883e16f11058 (patch)
tree1dfb12fdfc68060707d0d0fa66786a8c0a34312f
parent9374f6c1255b368b9ff3bd596408dbb35640d5d7 (diff)
downloadbuildroot-1069f8276585131cef852603e93b883e16f11058.tar.gz
buildroot-1069f8276585131cef852603e93b883e16f11058.tar.bz2
cups: fixup php extension build
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/cups/cups.mk14
1 files changed, 4 insertions, 10 deletions
diff --git a/package/cups/cups.mk b/package/cups/cups.mk
index 2357306..c19ae0c 100644
--- a/package/cups/cups.mk
+++ b/package/cups/cups.mk
@@ -28,17 +28,11 @@ ifeq ($(BR2_PACKAGE_XORG7),y)
endif
ifeq ($(BR2_PACKAGE_PHP),y)
- CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php
- CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/main
- CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/regex
- CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/TSRM
- CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/Zend
- CUPS_CFLAGS += -I$(STAGING_DIR)/usr/include/php/ext
- CUPS_CONF_ENV += ac_cv_path_php=$(STAGING_DIR)/usr/bin/php
- CUPS_CONF_OPT += --with-php
- CUPS_DEPENDENCIES += php
+ CUPS_CONF_ENV += ac_cv_path_PHPCONFIG=$(STAGING_DIR)/usr/bin/php-config
+ CUPS_CONF_OPT += --with-php
+ CUPS_DEPENDENCIES += php
else
- CUPS_CONF_OPT += --without-php
+ CUPS_CONF_OPT += --without-php
endif
ifeq ($(BR2_PACKAGE_PYTHON),y)