pkgsrc/security/botan/patches/patch-aa
jmmv a68b3af4dd Fix -install_name of library in OS X to include its full path. This is how
other libraries are being installed (as far as otool -D says) and fixes the
execution of mtn, which couldn't find the botan library before.
2009-10-22 10:25:02 +00:00

13 lines
593 B
Text

$NetBSD: patch-aa,v 1.6 2009/10/22 10:25:02 jmmv Exp $
--- src/build-data/cc/gcc.orig 2009-09-10 01:29:34.000000000 +0100
+++ src/build-data/cc/gcc
@@ -31,7 +31,7 @@ default -> "$(CXX) -shared -fPIC -Wl,-so
# 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