Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4684)

Unified Diff: build/linux/sysroot_scripts/sysroot-creator.sh

Issue 1699353002: Fix pkgconfig file re-naming in sysroot-creator.sh (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@update_sysroot
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/linux/sysroot_scripts/sysroot-creator.sh
diff --git a/build/linux/sysroot_scripts/sysroot-creator.sh b/build/linux/sysroot_scripts/sysroot-creator.sh
index ffc483ec754d0dbd9d703d7706e161015e8afb4c..b693ed5bb1def104d68feb8cfdf0046c401320f1 100644
--- a/build/linux/sysroot_scripts/sysroot-creator.sh
+++ b/build/linux/sysroot_scripts/sysroot-creator.sh
@@ -268,7 +268,9 @@ HacksAndPatchesAmd64() {
# This is for chrome's ./build/linux/pkg-config-wrapper
# which overwrites PKG_CONFIG_LIBDIR internally
SubBanner "Move pkgconfig scripts"
- mv ${INSTALL_ROOT}/usr/lib/x86_64-linux-gnu/pkgconfig ${INSTALL_ROOT}/usr/lib/
+ mkdir -p ${INSTALL_ROOT}/usr/lib/pkgconfig
+ mv ${INSTALL_ROOT}/usr/lib/x86_64-linux-gnu/pkgconfig/* \
+ ${INSTALL_ROOT}/usr/lib/pkgconfig
SubBanner "Adding an additional ld.conf include"
LD_SO_HACK_CONF="${INSTALL_ROOT}/etc/ld.so.conf.d/zz_hack.conf"
@@ -291,7 +293,9 @@ HacksAndPatchesI386() {
# This is for chrome's ./build/linux/pkg-config-wrapper
# which overwrites PKG_CONFIG_LIBDIR internally
SubBanner "Move pkgconfig scripts"
- mv ${INSTALL_ROOT}/usr/lib/i386-linux-gnu/pkgconfig ${INSTALL_ROOT}/usr/lib/
+ mkdir -p ${INSTALL_ROOT}/usr/lib/pkgconfig
+ mv ${INSTALL_ROOT}/usr/lib/i386-linux-gnu/pkgconfig/* \
+ ${INSTALL_ROOT}/usr/lib/pkgconfig
SubBanner "Adding an additional ld.conf include"
LD_SO_HACK_CONF="${INSTALL_ROOT}/etc/ld.so.conf.d/zz_hack.conf"
@@ -314,8 +318,9 @@ HacksAndPatchesARM() {
# This is for chrome's ./build/linux/pkg-config-wrapper
# which overwrites PKG_CONFIG_LIBDIR internally
SubBanner "Move pkgconfig files"
- mv ${INSTALL_ROOT}/usr/lib/arm-linux-gnueabihf/pkgconfig \
- ${INSTALL_ROOT}/usr/lib/
+ mkdir -p ${INSTALL_ROOT}/usr/lib/pkgconfig
+ mv ${INSTALL_ROOT}/usr/lib/arm-linux-gnueabihf/pkgconfig/* \
+ ${INSTALL_ROOT}/usr/lib/pkgconfig
}
@@ -333,8 +338,9 @@ HacksAndPatchesMips() {
# This is for chrome's ./build/linux/pkg-config-wrapper
# which overwrites PKG_CONFIG_LIBDIR internally
SubBanner "Move pkgconfig files"
- mv ${INSTALL_ROOT}/usr/lib/mipsel-linux-gnu/pkgconfig \
- ${INSTALL_ROOT}/usr/lib/
+ mkdir -p ${INSTALL_ROOT}/usr/lib/pkgconfig
+ mv ${INSTALL_ROOT}/usr/lib/mipsel-linux-gnu/pkgconfig/* \
+ ${INSTALL_ROOT}/usr/lib/pkgconfig
}
@@ -369,7 +375,7 @@ InstallIntoSysroot() {
done
- # Prune /usr/share, leaving only pkg-config
+ # Prune /usr/share, leaving only pkgconfig
for name in ${INSTALL_ROOT}/usr/share/*; do
if [ "${name}" != "${INSTALL_ROOT}/usr/share/pkgconfig" ]; then
rm -r ${name}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698