From 57d99dfbed28d62e0ab054b600830d633f540ad4 Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Sun, 25 Aug 2019 16:19:58 +0200 Subject: [PATCH] fix build on case-sensitive file systems --- interfaces-and-libraries.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/interfaces-and-libraries.sh b/interfaces-and-libraries.sh index f94153ff75..6ef4d07a95 100755 --- a/interfaces-and-libraries.sh +++ b/interfaces-and-libraries.sh @@ -139,10 +139,11 @@ function locateAndCheckInterfacesAndLibraries() # and link files from $PREFIX/CIncludes function linkHeaders() { - # incompatible with Universal Interfaces on case-insensitive file systems - rm -f "$1"/threads.h # does not currently work anyways - rm -f "$1"/memory.h # non-standard aliasof string.h - rm -f "$1"/strings.h # traditional bsd string functions + # On case-insensitive file systems, there will be some conflicts with + # newlib. For now, universal interfaces get the right of way. + rm -f Threads.h # thread.h: does not currently work anyways + rm -f Memory.h # memory.h: non-standard aliasof string.h + rm -f Strings.h # strings.h: traditional bsd string functions (cd "$1" && find "../../CIncludes" -name '*.h' -exec ln -s {} . \;) }