[libass] fixing fribidi linking and discovery

This commit is contained in:
Mike Aizatsky 2016-12-28 10:39:39 -08:00
parent 14e613045f
commit b4279ffd59
1 changed files with 3 additions and 2 deletions

View File

@ -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 \