[Buildroot] [PATCH 1/6] php: delete /usr/lib/php/build instead of /usr/lib/php

Floris Bos bos at je-eigen-domein.nl
Mon May 18 19:51:59 UTC 2015


External PHP modules like the OPcache may live in
/usr/lib/php/extensions, so only delete /usr/lib/php/build

Signed-off-by: Floris Bos <bos at je-eigen-domein.nl>
---
 package/php/php.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/php/php.mk b/package/php/php.mk
index 47811ff..c36a80c 100644
--- a/package/php/php.mk
+++ b/package/php/php.mk
@@ -290,7 +290,7 @@ endef
 PHP_POST_INSTALL_TARGET_HOOKS += PHP_EXTENSIONS_FIXUP
 
 define PHP_INSTALL_FIXUP
-	rm -rf $(TARGET_DIR)/usr/lib/php
+	rm -rf $(TARGET_DIR)/usr/lib/php/build
 	rm -f $(TARGET_DIR)/usr/bin/phpize
 	$(INSTALL) -D -m 0755 $(PHP_DIR)/php.ini-production \
 		$(TARGET_DIR)/etc/php.ini
-- 
2.1.4



More information about the buildroot mailing list