Use "-lrt" instead of the resolved find_library result when linking librt (#665)
find_library defaults to shared objects
This commit is contained in:
parent
df60c82df4
commit
1a02b7a205
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue