summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-01-06 19:44:33 +0100
committerMichael Stahl <mstahl@redhat.com>2012-01-06 19:44:33 +0100
commit7e5b321535977ccddc6703c0ad4e5d25af797654 (patch)
treee2a52fea8c7e10cbb56142f481d2fc938c0a40dd
parent0dd3e081fbea5b917d4635de9b5cf15db217063c (diff)
gbuild: macosx.mk: Bundles have no install_name
-rw-r--r--solenv/gbuild/platform/macosx.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk
index 7b2517b13fa8..e693ecf7ba80 100644
--- a/solenv/gbuild/platform/macosx.mk
+++ b/solenv/gbuild/platform/macosx.mk
@@ -309,10 +309,12 @@ endef
gb_Library__set_soversion_script_platform = $(gb_Library__set_soversion_script)
# bundle is a special kind of library that exists only on Darwin/OSX
-# set the TARGETTYPE to Bundle
+# set the TARGETTYPE to Bundle, and clear install_name(RPATH)
define gb_Library_Bundle
$(call gb_Library_Library,$(1))
$(call gb_LinkTarget_set_targettype,$(call gb_Library_get_linktargetname,$(1)),Bundle)
+$(call gb_LinkTarget_get_target,$(call gb_Library_get_linktargetname,$(1))) : \
+ RPATH :=
endef
# StaticLibrary class