summaryrefslogtreecommitdiffstats
path: root/package/php/php.mk
diff options
context:
space:
mode:
authorAdam Duskett <Aduskett@gmail.com>2018-12-27 12:49:02 -0500
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-28 13:53:07 +0100
commit24a13885d67fe7dc020b753f3ff00b8870d76b2e (patch)
treea0925984d8a09a1d7b9667bf0db4d4fcd21b9892 /package/php/php.mk
parent61395fff0c497bb74a1dea866734a1f1134499b5 (diff)
downloadbuildroot-24a13885d67fe7dc020b753f3ff00b8870d76b2e.tar.gz
buildroot-24a13885d67fe7dc020b753f3ff00b8870d76b2e.zip
package/php: fix building curl extension
The configure option "--with-curl=$(STAGING_DIR)/usr" is broken. PHP will detect libcurl.pc, which will pass the configure checks, but will then prepend $(STAGING_DIR)/usr to the paths in libcurl.pc. Thus php will then search $(STAGING_DIR)/usr/$(STAGING_DIR)/usr/lib/ for curl libraries during linking, which causes linking errors. Removing "=$(STAGING_DIR)/usr" from --with-curl fixes the issue. Fixes: http://autobuild.buildroot.net/results/44b9ea1edca85b222a117a8e241a26b8dce33929/ Signed-off-by: Adam Duskett <Aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/php/php.mk')
-rw-r--r--package/php/php.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/php/php.mk b/package/php/php.mk
index b95ceb5c9d..338361f58a 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -259,7 +259,7 @@ endif
endif
ifeq ($(BR2_PACKAGE_PHP_EXT_CURL),y)
-PHP_CONF_OPTS += --with-curl=$(STAGING_DIR)/usr
+PHP_CONF_OPTS += --with-curl
PHP_DEPENDENCIES += libcurl
endif
OpenPOWER on IntegriCloud