From 16685f24f14c29f5aad2dc30cb73ab522dcb3cee Mon Sep 17 00:00:00 2001 From: David Tardon Date: Sun, 3 Nov 2013 07:50:57 +0100 Subject: [PATCH] duplicates in the module list break build They might occur in extensions when crosscompiling, because both harfbuzz and lcms2 are listed twice. Change-Id: I6d6eff19043d33160b825f47988e46798da7857a --- solenv/gbuild/Module.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk index 98930ed1ccd4..8105c1fb3f1b 100644 --- a/solenv/gbuild/Module.mk +++ b/solenv/gbuild/Module.mk @@ -280,7 +280,8 @@ $(foreach target,$(2),$(call gb_Module_add_subsequentcheck_target,$(1),$(target) endef define gb_Module_add_moduledirs -$(foreach target,$(2),$(call gb_Module_add_moduledir,$(1),$(target))) +$(foreach target,$(sort $(2)),$(call gb_Module_add_moduledir,$(1),$(target))) + endef define gb_Module_make_global_targets