From 59b8be069dd680c86787a6f01812388f71a57de7 Mon Sep 17 00:00:00 2001 From: Mike Aizatsky Date: Mon, 15 Aug 2016 09:50:23 -0700 Subject: [PATCH] [freetype] statically building libarchive --- freetype2/build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/freetype2/build.sh b/freetype2/build.sh index 09dda53dc..f4799196f 100755 --- a/freetype2/build.sh +++ b/freetype2/build.sh @@ -21,6 +21,9 @@ cd /src/freetype2/ ./configure make clean all -$CXX $CXXFLAGS -std=c++11 ./src/tools/ftfuzzer/ftfuzzer.cc -o /out/freetype2_fuzzer \ +$CXX $CXXFLAGS $LDFLAGS -std=c++11 \ + -I./include -I. \ + ./src/tools/ftfuzzer/ftfuzzer.cc -o /out/freetype2_fuzzer \ ./objs/*.o /work/libfuzzer/*.o \ - -larchive -I./include -I. ./objs/.libs/libfreetype.a $LDFLAGS + /usr/lib/x86_64-linux-gnu/libarchive.a \ + ./objs/.libs/libfreetype.a