modphp5: use ${baselib} instead of hardcoded "lib"

The hardcoded lib path will cause apache2 fail to start on
the target with other baselib like lib64.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
This commit is contained in:
Jackie Huang 2013-03-01 17:19:59 +08:00 committed by Paul Eggleton
parent 230e2171d0
commit 6c9ac38e8b

View File

@ -67,6 +67,7 @@ do_install () {
install -d ${D}${sysconfdir}/apache2/modules.d
install -d ${D}${sysconfdir}/php/apache2-php5
install -m 755 libs/libphp5.so ${D}${libdir}/apache2/modules
sed -i s,lib/,${baselib}/, ${WORKDIR}/70_mod_php5.conf
install -m 644 ${WORKDIR}/70_mod_php5.conf ${D}${sysconfdir}/apache2/modules.d
cat ${S}/php.ini-production | \
sed -e 's,extension_dir = \"\./\",extension_dir = \"/usr/lib/extensions\",' \