Force static linkage for fuzz executables
This commit is contained in:
parent
df5df118db
commit
8540b64211
|
@ -1172,6 +1172,10 @@ if(UNICORN_FUZZ)
|
|||
target_link_libraries(fuzz_emu_${SUFFIX}
|
||||
${SAMPLES_LIB}
|
||||
)
|
||||
# oss-fuzz requires statically linked executables.
|
||||
target_link_options(fuzz_emu_${SUFFIX} PRIVATE
|
||||
-static
|
||||
)
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue