Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/ssl/test
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@chromium.org>2014-12-02 23:21:59 +0300
committerAdam Langley <agl@google.com>2014-12-02 23:27:57 +0300
commit0105ece171d97ecdbc283f18e84966f61d8faf69 (patch)
tree955a742c4bf99a02fd0ff2fb97dac3b2417825e1 /ssl/test
parent94d701b7e80c26ebe1871b8ea21ef64f836541ab (diff)
Fix standalone Windows build.
Don't link with dl, except on Linux where we have malloc tests. Change-Id: I7b23acc854172e64628a55acecfaa9a661f74f77 Reviewed-on: https://boringssl-review.googlesource.com/2453 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/test')
-rw-r--r--ssl/test/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ssl/test/CMakeLists.txt b/ssl/test/CMakeLists.txt
index f7f0efc7..ea7b9ed0 100644
--- a/ssl/test/CMakeLists.txt
+++ b/ssl/test/CMakeLists.txt
@@ -10,4 +10,7 @@ add_executable(
test_config.cc
)
-target_link_libraries(bssl_shim ssl crypto dl)
+target_link_libraries(bssl_shim ssl crypto)
+if (NOT APPLE AND NOT WIN32)
+ target_link_libraries(bssl_shim dl)
+endif()