apache-websocket: fix module path

The apache2 module's path has been changed from ${libdir} to
${libexecdir} in commit 8d4d608b4e.

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Yi Zhao 2019-09-10 17:58:24 +08:00 committed by Khem Raj
parent 54983c1351
commit 540df694e4

View File

@ -25,9 +25,9 @@ EXTRA_OECONF = "APACHECTL=${STAGING_DIR_TARGET}${sbindir}/apachectl \
LIBTOOL=${STAGING_DIR_TARGET}${bindir_crossscripts}/${HOST_SYS}-libtool"
do_install() {
install -d ${D}${libdir}/apache2/modules
install -m 755 ${B}/.libs/mod_websocket.so ${D}${libdir}/apache2/modules
install -d ${D}${libexecdir}/apache2/modules
install -m 755 ${B}/.libs/mod_websocket.so ${D}${libexecdir}/apache2/modules
}
FILES_${PN} += " ${libdir}/apache2/modules/* "
FILES_${PN}-dbg += " ${libdir}/apache2/modules/.debug/* "
FILES_${PN} += " ${libexecdir}/apache2/modules/* "
FILES_${PN}-dbg += " ${libexecdir}/apache2/modules/.debug/* "