mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Work around missing expat.pc on some RedHat-based systems
This commit is contained in:
parent
37bcc2ffcd
commit
5a6675a296
1 changed files with 5 additions and 0 deletions
5
configure
vendored
5
configure
vendored
|
@ -687,6 +687,11 @@ do
|
||||||
CONFIGURE_ARGS="${CONFIGURE_ARGS} --sysconfdir=/etc"
|
CONFIGURE_ARGS="${CONFIGURE_ARGS} --sysconfdir=/etc"
|
||||||
CONFIGURE_ARGS="${CONFIGURE_ARGS} --localstatedir=/var"
|
CONFIGURE_ARGS="${CONFIGURE_ARGS} --localstatedir=/var"
|
||||||
CONFIGURE_ARGS="${CONFIGURE_ARGS} --disable-shared" # work around Rust #12557
|
CONFIGURE_ARGS="${CONFIGURE_ARGS} --disable-shared" # work around Rust #12557
|
||||||
|
if [ -f /etc/redhat-release ]; then
|
||||||
|
# Some RedHat-based distros (including our CentOS 6 build machines) are missing
|
||||||
|
# pkg-config files for expat: https://bugzilla.redhat.com/show_bug.cgi?id=833338
|
||||||
|
CONFIGURE_ARGS="${CONFIGURE_ARGS} --with-expat=/usr"
|
||||||
|
fi
|
||||||
CONFIGURE_ARGS="${CONFIGURE_ARGS} ${EXTRA_CONFIGURE_ARGS}"
|
CONFIGURE_ARGS="${CONFIGURE_ARGS} ${EXTRA_CONFIGURE_ARGS}"
|
||||||
;;
|
;;
|
||||||
platform/android/fontconfig)
|
platform/android/fontconfig)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue