From b4279ffd59449644559374a0414c0449bcf511e5 Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Wed, 28 Dec 2016 10:39:39 -0800 Subject: [PATCH] [libass] fixing fribidi linking and discovery --- projects/libass/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/projects/libass/build.sh b/projects/libass/build.sh index 93bdd12a5..b41f14f26 100755 --- a/projects/libass/build.sh +++ b/projects/libass/build.sh @@ -17,17 +17,18 @@ cd $SRC/fribidi ./bootstrap -./configure --enable-static=yes --enable-shared=no --with-pic=yes --prefix=/work/fribidi +./configure --enable-static=yes --enable-shared=no --with-pic=yes --prefix=/work/ # Don't run "make": it's broken. Run "make install". make install cd $SRC/libass +export PKG_CONFIG_PATH=/work/lib/pkgconfig ./autogen.sh ./configure --disable-asm make -j$(nproc) -$CXX $CXXFLAGS -std=c++11 -I$SRC/libass \ +$CXX $CXXFLAGS -std=c++11 -I$SRC/libass -L/work/lib \ $SRC/libass_fuzzer.cc -o $OUT/libass_fuzzer \ -lFuzzingEngine libass/.libs/libass.a \ -Wl,-Bstatic -lfontconfig -lfribidi -lfreetype -lz -lpng12 \