mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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:
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\",' \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user