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 \