mirror of https://github.com/google/oss-fuzz.git
[ots] Fix build (#1642)
Export the environment variables before calling meson, otherwise they have no effect.
This commit is contained in:
parent
f99f761456
commit
a5a3f73c58
|
@ -15,12 +15,12 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
# Build the project.
|
||||
# Configure the project.
|
||||
export CXXFLAGS="$CXXFLAGS -DOTS_FUZZER_NO_MAIN"
|
||||
export LDFLAGS="-lFuzzingEngine"
|
||||
meson build
|
||||
|
||||
# Build the fuzzer.
|
||||
export CXXFLAGS="$CXXFLAGS -DOTS_FUZZER_NO_MAIN"
|
||||
export LDFLAGS="-lFuzzingEngine"
|
||||
ninja -v -j$(nproc) -C build ots-fuzzer
|
||||
mv build/ots-fuzzer $OUT/
|
||||
|
||||
|
|
Loading…
Reference in New Issue