diff options
Diffstat (limited to 'dev-libs/botan/files/botan-1.8.8-darwin-install_name-fix.patch')
-rw-r--r-- | dev-libs/botan/files/botan-1.8.8-darwin-install_name-fix.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dev-libs/botan/files/botan-1.8.8-darwin-install_name-fix.patch b/dev-libs/botan/files/botan-1.8.8-darwin-install_name-fix.patch new file mode 100644 index 0000000..d749ea0 --- /dev/null +++ b/dev-libs/botan/files/botan-1.8.8-darwin-install_name-fix.patch @@ -0,0 +1,13 @@ +install_names (sonames) on Darwin are absolute + +--- src/build-data/cc/gcc.txt ++++ src/build-data/cc/gcc.txt +@@ -31,7 +31,7 @@ + # AIX doesn't seem to have soname support (weird...) + aix -> "$(CXX) -shared -fPIC" + +-darwin -> "$(CXX) -dynamiclib -fPIC -install_name $(SONAME)" ++darwin -> "$(CXX) -dynamiclib -fPIC -install_name $(LIBDIR)/$(SONAME)" + hpux -> "$(CXX) -shared -fPIC -Wl,+h,$(SONAME)" + solaris -> "$(CXX) -shared -fPIC -Wl,-h,$(SONAME)" + # Gotta use ld directly on BeOS, their GCC is busted |