blob: ee80e9189781a09e3af2f4d8e4360b00c4894787 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$NetBSD: patch-ab,v 1.11 2011/07/25 10:16:54 adam Exp $
--- config/mh-darwin.orig 2011-07-19 21:16:46.000000000 +0000
+++ config/mh-darwin
@@ -25,11 +25,7 @@ SHLIB.c= $(CC) -dynamiclib -dynamic $(CF
SHLIB.cc= $(CXX) -dynamiclib -dynamic $(CXXFLAGS) $(LDFLAGS) $(LD_SOOPTIONS)
## Compiler switches to embed a library name and version information
-ifeq ($(ENABLE_RPATH),YES)
LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(libdir)/$(notdir $(MIDDLE_SO_TARGET))
-else
-LD_SONAME = -Wl,-compatibility_version -Wl,$(SO_TARGET_VERSION_MAJOR) -Wl,-current_version -Wl,$(SO_TARGET_VERSION) -install_name $(notdir $(MIDDLE_SO_TARGET))
-endif
## Compiler switch to embed a runtime search path
LD_RPATH=
|