diff options
author | Floris Bos <bos@je-eigen-domein.nl> | 2015-05-18 21:51:59 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2015-05-19 21:37:56 +0200 |
commit | ec0404a9a426e866dff20bf11b33c06b90f9f85d (patch) | |
tree | cefb761bbe7a28ebe3a2f001625e1f05096111eb /package/php/php.mk | |
parent | 71d9b0c1f06896f113b09e941aa84d979bff5710 (diff) | |
download | buildroot-ec0404a9a426e866dff20bf11b33c06b90f9f85d.tar.gz buildroot-ec0404a9a426e866dff20bf11b33c06b90f9f85d.zip |
php: delete /usr/lib/php/build instead of /usr/lib/php
Fixes #8121
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@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/php/php.mk')
-rw-r--r-- | package/php/php.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/php/php.mk b/package/php/php.mk index 279ebf8ece..bc3794af88 100644 --- a/package/php/php.mk +++ b/package/php/php.mk @@ -295,7 +295,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 |