Skip to contentSkip to conversation

modphp: add phpize to scan for absolute paths

PATCH New Joe Slater 1 participant 1 message Mar 27, 2014

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 modphp: add phpize to scan for absolute paths

sstate processing for items in sysroot scans certain file name patterns for absolute paths to be adjusted when items are installed into sysroot from sstate. phpize is not one of these patterns (surprise!) so we add it to the list.

---
 recipes-php/modphp/modphp5.inc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
recipes-php/modphp/modphp5.inc +4 -0
index 8bb27c7..33208bd 100644
@@ -93,6 +93,10 @@ php_sysroot_preprocess () {
     sed -i 's!^include_dir=.*!include_dir=${STAGING_INCDIR}/php!' ${SYSROOT_DESTDIR}${bindir_crossscripts}/php-config
 }
 
+# phpize is not scanned for absolute paths by default (but php-config is).
+#
+SSTATE_SCAN_FILES += "phpize"
+
 RDEPENDS_${PN} = "apache2"
 
 FILES_${PN} = "${libdir}/apache2 ${sysconfdir}"
Signature · 1 line
1.7.3.4