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>
This commit is contained in:
David Benjamin 2014-12-02 15:21:59 -05:00 committed by Adam Langley
parent 94d701b7e8
commit 0105ece171

View File

@ -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()