From 78246a6e7541ef1c2008e68e54c941d694926fcd Mon Sep 17 00:00:00 2001 From: Nicolas Setton Date: Fri, 17 Apr 2009 09:02:22 +0000 Subject: Makefile.in: Under darwin, build shared libraries with install_name starting with "@rpath/". 2009-04-17 Nicolas Setton * gcc-interface/Makefile.in: Under darwin, build shared libraries with install_name starting with "@rpath/". From-SVN: r146225 --- gcc/ada/gcc-interface/Makefile.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/ada/gcc-interface') diff --git a/gcc/ada/gcc-interface/Makefile.in b/gcc/ada/gcc-interface/Makefile.in index 6358a39..8033834 100644 --- a/gcc/ada/gcc-interface/Makefile.in +++ b/gcc/ada/gcc-interface/Makefile.in @@ -1887,7 +1887,8 @@ ifeq ($(strip $(filter-out darwin%,$(osys))),) EH_MECHANISM=-gcc GNATLIB_SHARED = gnatlib-shared-darwin - SO_OPTS = -Wl,-flat_namespace -shared-libgcc + SO_OPTS = -Wl,-flat_namespace -shared-libgcc \ + -Wl,-install_name,@rpath/libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) RANLIB = ranlib -c GMEM_LIB = gmemlib PREFIX_OBJS=$(PREFIX_REAL_OBJS) -- cgit v1.1