[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - Makefile.in

Tor Lillqvist (via logerrit) logerrit at kemper.freedesktop.org
Sun Nov 15 09:11:44 UTC 2020


 Makefile.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b89fa01adbb8bf854b219463f19c79fd2afc598f
Author:     Tor Lillqvist <tml at iki.fi>
AuthorDate: Sun Jul 5 21:36:57 2020 +0300
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Sun Nov 15 10:11:13 2020 +0100

    When cross-compiling to DESKTOP, just make "build" for the build platform
    
    Trying to fine-tune that exactly what is needed but nothing else is
    built is very painful.
    
    For instance, on macOS, if you build gengal but not soffice, you end
    up with this error when trying to run the built gengal, because there
    is no Info.plist in the app bundle in instdir_for_build: "No
    Info.plist file in application bundle or no NSPrincipalClass in the
    Info.plist file, exiting"
    
    Change-Id: I63d766f0e7e72f55454d16c72c32e153cf976443
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98177
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105872
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>

diff --git a/Makefile.in b/Makefile.in
index ce2dd29358bf..17469f5387f0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -294,7 +294,7 @@ cross-toolset: bootstrap fetch
 ifneq ($(OS),iOS)
 	$(MAKE) gb_Side=build $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(BUILDDIR)/Makefile fetch
 endif
-	$(MAKE) gb_Side=build $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild build-tools
+	$(MAKE) gb_Side=build $(PARALLELISM_OPTION) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.gbuild $(if $(filter DESKTOP,$(BUILD_TYPE)),build,build-tools)
 
 install-gdb-printers:
 ifneq ($(filter-out WNT MACOSX iOS,$(OS)),)


More information about the Libreoffice-commits mailing list