Commit f4e8a41a authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

[t:4871] fix compilation of test-fair-rwlock

git-svn-id: file:///svn/toku/tokudb@44666 c7de825b-a66e-492c-adef-691d508d4ae1
parent ce11ad39
......@@ -20,7 +20,12 @@ if(BUILD_TESTING)
add_executable(${test} ${src})
target_link_libraries(${test} ${LIBTOKUPORTABILITY})
if(${test} STREQUAL test-fair-rwlock)
add_space_separated_property(TARGET ${test} COMPILE_FLAGS -fPIC)
add_space_separated_property(TARGET ${test} LINK_FLAGS -fPIC)
else()
add_common_options_to_binary_targets(${test})
endif()
if(HAVE_CLOCK_REALTIME)
target_link_libraries(${test} rt)
else()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment