Commit 1a02b7a2 by László Nagy Committed by GitHub

Use "-lrt" instead of the resolved find_library result when linking librt (#665)

find_library defaults to shared objects
parent df60c82d
...@@ -191,7 +191,7 @@ absl_cc_library( ...@@ -191,7 +191,7 @@ absl_cc_library(
${ABSL_DEFAULT_COPTS} ${ABSL_DEFAULT_COPTS}
LINKOPTS LINKOPTS
${ABSL_DEFAULT_LINKOPTS} ${ABSL_DEFAULT_LINKOPTS}
$<$<BOOL:${LIBRT}>:${LIBRT}> $<$<BOOL:${LIBRT}>:-lrt>
$<$<BOOL:${MINGW}>:"advapi32"> $<$<BOOL:${MINGW}>:"advapi32">
DEPS DEPS
absl::atomic_hook absl::atomic_hook
......
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