aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/net-snmp
diff options
context:
space:
mode:
authorGravatar jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com>2019-05-01 11:09:55 -0400
committerGravatar GitHub <noreply@github.com>2019-05-01 11:09:55 -0400
commit3049c50d48a8e712889104db25113c2b0be00301 (patch)
treeb1ed868d18b8701642006fbc68e7aa80f23b5d02 /projects/net-snmp
parent22f5e3e0b8c6a865289df088a1b86e2165cf135b (diff)
Migrate projects using -lFuzzingEngine to $LIB_FUZZING_ENGINE (#2325)
Migrate from -lFuzzingEngine to $LIB_FUZZING_ENGINE where possible and not causing breakage
Diffstat (limited to 'projects/net-snmp')
-rwxr-xr-xprojects/net-snmp/build.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/net-snmp/build.sh b/projects/net-snmp/build.sh
index c0c0a8f1..b7bceda0 100755
--- a/projects/net-snmp/build.sh
+++ b/projects/net-snmp/build.sh
@@ -23,13 +23,13 @@ make
# build fuzzers (remember to link statically)
$CC $CFLAGS -c -Iinclude $SRC/snmp_pdu_parse_fuzzer.c -o $WORK/snmp_pdu_parse_fuzzer.o
$CXX $CXXFLAGS $WORK/snmp_pdu_parse_fuzzer.o \
- -lFuzzingEngine snmplib/.libs/libnetsnmp.a \
+ $LIB_FUZZING_ENGINE snmplib/.libs/libnetsnmp.a \
-Wl,-Bstatic -lcrypto -Wl,-Bdynamic -lm \
-o $OUT/snmp_pdu_parse_fuzzer
$CC $CFLAGS -c -Iinclude -Iagent/mibgroup/agentx $SRC/agentx_parse_fuzzer.c -o $WORK/agentx_parse_fuzzer.o
$CXX $CXXFLAGS $WORK/agentx_parse_fuzzer.o \
- -lFuzzingEngine snmplib/.libs/libnetsnmp.a \
+ $LIB_FUZZING_ENGINE snmplib/.libs/libnetsnmp.a \
agent/.libs/libnetsnmpagent.a \
-Wl,-Bstatic -lcrypto -Wl,-Bdynamic -lm \
-o $OUT/agentx_parse_fuzzer