summaryrefslogtreecommitdiff
path: root/textproc/icu/patches/patch-config_mh-darwin
blob: 4a7095b23d2cc2874941355c61db25c5420db770 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-config_mh-darwin,v 1.3 2019/04/24 07:59:36 adam Exp $

On Darwin, -install_name must be a full path.

--- config/mh-darwin.orig	2019-04-24 07:37:10.000000000 +0000
+++ config/mh-darwin
@@ -30,11 +30,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)) $(PKGDATA_TRAILING_SPACE)
-endif
 
 ## Compiler switch to embed a runtime search path
 LD_RPATH=