aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/os/darwin.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data/os/darwin.txt')
-rw-r--r--src/build-data/os/darwin.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/build-data/os/darwin.txt b/src/build-data/os/darwin.txt
index 78ad4a948..4c8ba2c47 100644
--- a/src/build-data/os/darwin.txt
+++ b/src/build-data/os/darwin.txt
@@ -4,6 +4,8 @@ soname_pattern_base "libbotan-{version_major}.dylib"
soname_pattern_abi "libbotan-{version_major}.{abi_rev}.dylib"
soname_pattern_patch "libbotan-{version_major}.{abi_rev}.{version_minor}.{version_patch}.dylib"
+so_post_link_command "install_name_tool -change '$(INSTALLED_LIB_DIR)/{soname_abi}' '@executable_path/{soname_abi}' $@"
+
doc_dir doc
<target_features>