From 76a1c60186e5e9115a2203f6c98fdab2b18f3ebc Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 15 Sep 2011 23:21:39 +0200 Subject: [PATCH] macosx.mk: no RPATH-equivalent for executables --- solenv/gbuild/platform/macosx.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk index f32ddee4372e..51e4256d47c5 100644 --- a/solenv/gbuild/platform/macosx.mk +++ b/solenv/gbuild/platform/macosx.mk @@ -451,12 +451,10 @@ gb_Executable_LAYER := \ $(foreach exe,$(gb_Executable_NONE),$(exe):NONEBIN) \ -define gb_Executable_get_rpath -$(call gb_LinkTarget__get_installname,$(1),$(call gb_LinkTarget__get_rpath_for_layer,$(call gb_Executable_get_layer,$(1)))) -endef +gb_Executable_get_rpath := define gb_Executable_Executable_platform -$(call gb_LinkTarget_get_target,$(2)) : RPATH := $(call gb_Executable_get_rpath,$(1)) +$(call gb_LinkTarget_get_target,$(2)) : RPATH := $(call gb_LinkTarget_get_target,$(2)) : LAYER := $(call gb_Executable_get_layer,$(1)) endef