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
This commit is contained in:
David Tardon 2013-11-03 07:50:57 +01:00
parent a5f90dcdb8
commit 16685f24f1

View file

@ -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