Use the `-l` form for MinGW-specific link dependencies

This corrects the generated .pc files, so these libs match the other libs
already included there.
pull/1298/head
Russell Johnston 2 years ago
parent 5fa65f28e4
commit 8bf19a07e0
  1. 2
      absl/base/CMakeLists.txt
  2. 2
      absl/debugging/CMakeLists.txt
  3. 2
      absl/random/CMakeLists.txt

@ -201,7 +201,7 @@ absl_cc_library(
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
$<$<BOOL:${LIBRT}>:-lrt>
$<$<BOOL:${MINGW}>:"advapi32">
$<$<BOOL:${MINGW}>:-ladvapi32>
DEPS
absl::atomic_hook
absl::base_internal

@ -62,7 +62,7 @@ absl_cc_library(
${ABSL_DEFAULT_COPTS}
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
$<$<BOOL:${MINGW}>:"dbghelp">
$<$<BOOL:${MINGW}>:-ldbghelp>
DEPS
absl::debugging_internal
absl::demangle_internal

@ -569,7 +569,7 @@ absl_cc_library(
${ABSL_DEFAULT_COPTS}
LINKOPTS
${ABSL_DEFAULT_LINKOPTS}
$<$<BOOL:${MINGW}>:"bcrypt">
$<$<BOOL:${MINGW}>:-lbcrypt>
DEPS
absl::core_headers
absl::optional

Loading…
Cancel
Save