diff options
author | Lauri Nurmi <[email protected]> | 2016-07-02 16:17:08 +0300 |
---|---|---|
committer | Lauri Nurmi <[email protected]> | 2016-07-02 16:18:13 +0300 |
commit | 667fdf17a0b1c3f3f67dca442592b4745ec97594 (patch) | |
tree | 7a9ce0c741e143d3150c23bbf1f677c8aea51785 | |
parent | bbf85d905c32e89cd1d2b7e07db58527f1e89ee5 (diff) |
Compile shared libraries (too) on FreeBSD
Soname_patterns and link commands are identical to those used with Linux
-rw-r--r-- | src/build-data/cc/clang.txt | 2 | ||||
-rw-r--r-- | src/build-data/os/freebsd.txt | 4 |
2 files changed, 6 insertions, 0 deletions
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)" </binary_link_commands> 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}" + <target_features> clock_gettime gettimeofday |