summaryrefslogtreecommitdiff
path: root/textproc/icu/patches/patch-config_mh-darwin
blob: eab82e67be5579e0157d8fc5ed20144a58b51b08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-config_mh-darwin,v 1.1 2017/04/22 20:11:45 adam Exp $

--- config/mh-darwin.orig	2011-07-19 21:16:46.000000000 +0000
+++ config/mh-darwin
@@ -28,11 +28,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=