Workaround for file name case inconsistency

Change-Id: Ia13dc01f86e51064658d5ad9a996c6bd555cbeef
This commit is contained in:
Tor Lillqvist
2018-09-05 11:21:26 +03:00
parent e3bac83bec
commit 1d6d1eef3a
+13 -1
View File
@@ -166,7 +166,19 @@ $(eval $(call gb_Helper_collect_knownlibs))
gb_Library_DLLPOSTFIX := lo
# Include platform/cpu/compiler specific config/definitions
include $(GBUILDDIR)/platform/$(OS)_$(CPUNAME)_$(COM).mk
# Work around inconsistency in case of $(OS) being "IOS" (all
# upper-case) vs. the file being included here having the name
# iOS_*_*.mk (lower-case 'i'). This went unnoticed until now when I
# happen to build for iOS on a case-sensitive file system.
ifeq ($(OS),IOS)
gbuildplatformosname=iOS
else
gbuildplatformosname=$(OS)
endif
include $(GBUILDDIR)/platform/$(gbuildplatformosname)_$(CPUNAME)_$(COM).mk
# this is optional
include $(SRCDIR)/RepositoryFixes.mk