[PATCH] D27870: [libFuzzer] Diff 25 - Fix test with shared libraries on Windows.
Chris Bieneman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 20 09:31:12 PST 2016
beanz added a comment.
`BINARY_DIR` is only used for the dynamic library on Windows, not on Unix. On Unix dynamic libraries go in the `LIBRARY_DIR`.
To make this patch work on Unix systems you would also need to add something like:
set_target_properties(LLVMFuzzer-DSO1 PROPERTIES
BUILD_WITH_INSTALL_RPATH On
INSTALL_RPATH "${CMAKE_BINARY_DIR}/lib/Fuzzer/lib")
set_target_properties(LLVMFuzzer-DSO2 PROPERTIES
BUILD_WITH_INSTALL_RPATH On
INSTALL_RPATH "${CMAKE_BINARY_DIR}/lib/Fuzzer/lib")
Repository:
rL LLVM
https://reviews.llvm.org/D27870
More information about the llvm-commits
mailing list