build: Handle empty pkgconfig in sysroot

This commit is contained in:
klzgrad 2021-05-17 02:17:41 +08:00
parent 2ef81dc81e
commit 0a7028aab6

View File

@ -382,8 +382,6 @@ HacksAndPatchesCommon() {
# which overwrites PKG_CONFIG_LIBDIR internally # which overwrites PKG_CONFIG_LIBDIR internally
SubBanner "Move pkgconfig scripts" SubBanner "Move pkgconfig scripts"
mkdir -p ${INSTALL_ROOT}/usr/lib/pkgconfig mkdir -p ${INSTALL_ROOT}/usr/lib/pkgconfig
mv ${INSTALL_ROOT}/usr/lib/${arch}-${os}/pkgconfig/* \
${INSTALL_ROOT}/usr/lib/pkgconfig
} }