aboutsummaryrefslogtreecommitdiff
path: root/projects/freeimage/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'projects/freeimage/build.sh')
-rwxr-xr-xprojects/freeimage/build.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/projects/freeimage/build.sh b/projects/freeimage/build.sh
index a418bd0a3..707440eb2 100755
--- a/projects/freeimage/build.sh
+++ b/projects/freeimage/build.sh
@@ -15,15 +15,13 @@
#
################################################################################
-pushd FreeImage
-
# b44ExpLogTable.cpp only contains a definition of main().
sed -i 's/Source\/OpenEXR\/IlmImf\/b44ExpLogTable.cpp//' Makefile.srcs
make LIBRARIES=-lc++ -j$(nproc)
-popd
+INSTALL_DIR="$PWD/Dist"
-INSTALL_DIR=$SRC/FreeImage/Dist
+cd $SRC
$CXX $CXXFLAGS -I${INSTALL_DIR}/ $LIB_FUZZING_ENGINE \
load_from_memory_fuzzer.cc ${INSTALL_DIR}/libfreeimage.a \