From 667fdf17a0b1c3f3f67dca442592b4745ec97594 Mon Sep 17 00:00:00 2001 From: Lauri Nurmi Date: Sat, 2 Jul 2016 16:17:08 +0300 Subject: Compile shared libraries (too) on FreeBSD Soname_patterns and link commands are identical to those used with Linux --- src/build-data/cc/clang.txt | 2 ++ src/build-data/os/freebsd.txt | 4 ++++ 2 files changed, 6 insertions(+) (limited to 'src/build-data') diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt index 2585190c4..df0f38f74 100644 --- a/src/build-data/cc/clang.txt +++ b/src/build-data/cc/clang.txt @@ -40,6 +40,8 @@ darwin -> "$(LINKER) -headerpad_max_install_names" darwin-debug -> "$(LINKER) -headerpad_max_install_names" linux -> "$(LINKER) -Wl,-rpath=\$$ORIGIN" linux-debug -> "$(LINKER) -Wl,-rpath=\$$ORIGIN" +freebsd -> "$(LINKER) -Wl,-rpath=\$$ORIGIN" +freebsd-debug -> "$(LINKER) -Wl,-rpath=\$$ORIGIN" default -> "$(LINKER)" default-debug -> "$(LINKER)" diff --git a/src/build-data/os/freebsd.txt b/src/build-data/os/freebsd.txt index dfe3d2edf..9d6ed3614 100644 --- a/src/build-data/os/freebsd.txt +++ b/src/build-data/os/freebsd.txt @@ -1,5 +1,9 @@ os_type unix +soname_pattern_base "libbotan-{version_major}.{version_minor}.so" +soname_pattern_abi "libbotan-{version_major}.{version_minor}.so.{abi_rev}" +soname_pattern_patch "libbotan-{version_major}.{version_minor}.so.{abi_rev}.{version_patch}" + clock_gettime gettimeofday -- cgit v1.2.3