Skip to content

Commit a696abc

Browse files
lovellkleisauke
andauthored
Ensure fontconfig includes platform-relevant config location (#57)
Co-authored-by: Kleis Auke Wolthuizen <github@kleisauke.nl>
1 parent 7cfaedf commit a696abc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/lin.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ mkdir ${DEPS}/fontconfig
281281
curl -Ls https://www.freedesktop.org/software/fontconfig/release/fontconfig-${VERSION_FONTCONFIG}.tar.xz | tar xJC ${DEPS}/fontconfig --strip-components=1
282282
cd ${DEPS}/fontconfig
283283
./configure --host=${CHOST} --prefix=${TARGET} --enable-static --disable-shared --disable-dependency-tracking \
284-
--with-expat-includes=${TARGET}/include --with-expat-lib=${TARGET}/lib --sysconfdir=${TARGET}/etc --disable-docs
284+
--with-expat-includes=${TARGET}/include --with-expat-lib=${TARGET}/lib ${LINUX:+--sysconfdir=/etc} \
285+
${DARWIN:+--sysconfdir=/usr/local/etc} --disable-docs
285286
make install-strip
286287

287288
mkdir ${DEPS}/harfbuzz

0 commit comments

Comments
 (0)