aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-10-18 12:44:57 -0400
committerJack Lloyd <[email protected]>2018-10-18 12:44:57 -0400
commit8f19e97d6f735f8c4f2a191ef5463c7a5fe715c4 (patch)
tree96beacd35601d12216ef106f08741c2364ca301a /src
parentb70f0f99185c250de0d1799317180c51e1b21bba (diff)
Handle different library naming on Windows in pkg-config file
Diffstat (limited to 'src')
-rw-r--r--src/build-data/botan.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/botan.pc.in b/src/build-data/botan.pc.in
index e19f0efed..e3c46eb5e 100644
--- a/src/build-data/botan.pc.in
+++ b/src/build-data/botan.pc.in
@@ -7,6 +7,6 @@ Name: Botan
Description: Crypto and TLS for C++11
Version: %{version}
-Libs: -L${libdir} -lbotan-%{version_major} %{cxx_abi_flags}
+Libs: -L${libdir} -l%{libname} %{cxx_abi_flags}
Libs.private: %{link_to}
Cflags: -I${includedir}