Use INSTALL_LIB to install php extensions, so they'll be correctly stripped.

This commit is contained in:
Alex Dupre 2015-02-24 15:05:17 +00:00
parent 2bc036ce3b
commit 7ca4b59c8a

View file

@ -195,7 +195,7 @@ PHP_HEADER_DIRS?= ""
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}
@${INSTALL_DATA} ${WRKSRC}/modules/${PHP_MODNAME}.so \
@${INSTALL_LIB} ${WRKSRC}/modules/${PHP_MODNAME}.so \
${STAGEDIR}${PREFIX}/lib/php/${PHP_EXT_DIR}
. for header in . ${PHP_HEADER_DIRS}
@${MKDIR} ${STAGEDIR}${PREFIX}/include/php/ext/${PHP_MODNAME}/${header}