mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
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:
committed by
Paul Eggleton
parent
230e2171d0
commit
6c9ac38e8b
@@ -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\",' \
|
||||
|
||||
Reference in New Issue
Block a user