diff options
author | Jack Lloyd <[email protected]> | 2017-12-01 09:41:28 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-12-01 09:41:28 -0500 |
commit | ba843d795772f72a4f3ecf9649c9b58f6422b3d3 (patch) | |
tree | cf8f5db867451a255b306ac89ff38e572dd82b9b /src/build-data/os | |
parent | 7e5ce9d4df54da881417bdbf2b9c4329081f10f6 (diff) |
Fix macOS dynamic link
Diffstat (limited to 'src/build-data/os')
-rw-r--r-- | src/build-data/os/darwin.txt | 2 |
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> |