Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Björn,

What good is that backport to 3.4? For one, the fix turns out to not work yet (as executables already built using gbuild but only used during the build itself use a "NONEBIN" token in solenv/gbuild/platform/*.mk instead of the "NONE" token used in solenv/inc/*.mk, so that macosx-change-install-names.pl complains and fails). For another, are there any executables in 3.4 that are built using gbuild but are not only used during the build itself (i.e., for which the missing call to macosx-change-install-names.pl actually matters)?

-Stephan

On 09/19/2011 11:06 PM, Bjoern Michaelsen wrote:
  solenv/gbuild/platform/macosx.mk |    2 ++
  1 file changed, 2 insertions(+)

New commits:
commit a87a8ee5a1919f6f6b4b35668456c03bdd499c85
Author: Stephan Bergmann<sbergman@redhat.com>
Date:   Mon Sep 19 21:39:46 2011 +0200

     Call macosx-change-install-names on executables in gbuild, too.

     Signed-off-by: Bjoern Michaelsen<bjoern.michaelsen@canonical.com>

diff --git a/solenv/gbuild/platform/macosx.mk b/solenv/gbuild/platform/macosx.mk
index 2def0c9..ff73333 100755
--- a/solenv/gbuild/platform/macosx.mk
+++ b/solenv/gbuild/platform/macosx.mk
@@ -274,6 +274,8 @@ $(call gb_Helper_abbreviate_dirs,\
                $(foreach lib,$(LINKED_STATIC_LIBS),$(call gb_StaticLibrary_get_target,$(lib))) \
                -o $(1) \
                `cat $${DYLIB_FILE}`&&  \
+       $(if $(filter Executable,$(TARGETTYPE)),\
+               $(PERL) $(SOLARENV)/bin/macosx-change-install-names.pl Executable $(LAYER) $(1)&&) \
        $(if $(filter Library CppunitTest,$(TARGETTYPE)),\
                $(PERL) $(SOLARENV)/bin/macosx-change-install-names.pl Library $(LAYER) $(1)&&  \
                ln -sf $(1) $(patsubst %.dylib,%.jnilib,$(1))&&) \

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.