diff options
author | Jack Lloyd <[email protected]> | 2017-01-04 12:47:30 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-01-06 09:36:53 -0500 |
commit | 309f9153831e07d726ceecf08c2d6cd3de372c11 (patch) | |
tree | 9c9447432c4f61f05833eb3b10da314a8dac158a /src/build-data/botan.pc.in | |
parent | a1d25be46c86f37ad1b6b6cf00ee18b2f7dd5456 (diff) |
Update shared object naming for new versioning scheme.
Cleans up so object naming since most of the time (across Unix)
we follow the exact same naming scheme; just make it the default
if only the so suffix is specified in the file.
Also updates include header dir to be botan-${major}
Changes behavior when shared lib not supported; instead of making
the user explicitly try again with --disable-shared, just assume it
and continue running.
Diffstat (limited to 'src/build-data/botan.pc.in')
-rw-r--r-- | src/build-data/botan.pc.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/botan.pc.in b/src/build-data/botan.pc.in index 49d7cfb59..85943ab3f 100644 --- a/src/build-data/botan.pc.in +++ b/src/build-data/botan.pc.in @@ -1,12 +1,12 @@ prefix=%{prefix} exec_prefix=${prefix} libdir=${prefix}/%{libdir} -includedir=${prefix}/include/botan-%{version_major}.%{version_minor} +includedir=${prefix}/include/botan-%{version_major} Name: Botan Description: Crypto and TLS for C++11 Version: %{version} -Libs: -L${libdir} -lbotan-%{version_major}.%{version_minor} +Libs: -L${libdir} -lbotan-%{version_major} Libs.private: %{link_to} Cflags: -I${includedir} |