Commit 8bf19a07 by Russell Johnston

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.
parent 5fa65f28
...@@ -201,7 +201,7 @@ absl_cc_library( ...@@ -201,7 +201,7 @@ absl_cc_library(
LINKOPTS LINKOPTS
${ABSL_DEFAULT_LINKOPTS} ${ABSL_DEFAULT_LINKOPTS}
$<$<BOOL:${LIBRT}>:-lrt> $<$<BOOL:${LIBRT}>:-lrt>
$<$<BOOL:${MINGW}>:"advapi32"> $<$<BOOL:${MINGW}>:-ladvapi32>
DEPS DEPS
absl::atomic_hook absl::atomic_hook
absl::base_internal absl::base_internal
......
...@@ -62,7 +62,7 @@ absl_cc_library( ...@@ -62,7 +62,7 @@ absl_cc_library(
${ABSL_DEFAULT_COPTS} ${ABSL_DEFAULT_COPTS}
LINKOPTS LINKOPTS
${ABSL_DEFAULT_LINKOPTS} ${ABSL_DEFAULT_LINKOPTS}
$<$<BOOL:${MINGW}>:"dbghelp"> $<$<BOOL:${MINGW}>:-ldbghelp>
DEPS DEPS
absl::debugging_internal absl::debugging_internal
absl::demangle_internal absl::demangle_internal
......
...@@ -569,7 +569,7 @@ absl_cc_library( ...@@ -569,7 +569,7 @@ absl_cc_library(
${ABSL_DEFAULT_COPTS} ${ABSL_DEFAULT_COPTS}
LINKOPTS LINKOPTS
${ABSL_DEFAULT_LINKOPTS} ${ABSL_DEFAULT_LINKOPTS}
$<$<BOOL:${MINGW}>:"bcrypt"> $<$<BOOL:${MINGW}>:-lbcrypt>
DEPS DEPS
absl::core_headers absl::core_headers
absl::optional absl::optional
......
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