Skip to content

Commit b77c773

Browse files
authored
Merge pull request microsoft#487 from kiyolee/fix-static-build-test_running
Fixed test_runner build when BUILD_SHARED_LIBS=OFF
2 parents 410feb1 + 2654217 commit b77c773

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/tests/common/TestRunner/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ elseif(APPLE)
2222
-Wl,-force_load utils_test
2323
)
2424
elseif(UNIX)
25-
target_link_libraries(test_runner PRIVATE
25+
target_link_libraries(test_runner PRIVATE ${CMAKE_DL_LIBS}
2626
-Wl,--whole-archive
2727
httpclient_test
2828
json_test

0 commit comments

Comments
 (0)