fix build on case-sensitive file systems

This commit is contained in:
Wolfgang Thaller 2019-08-25 16:19:58 +02:00
parent 14570ffa1f
commit 57d99dfbed

View File

@ -139,10 +139,11 @@ function locateAndCheckInterfacesAndLibraries()
# and link files from $PREFIX/CIncludes # and link files from $PREFIX/CIncludes
function linkHeaders() function linkHeaders()
{ {
# incompatible with Universal Interfaces on case-insensitive file systems # On case-insensitive file systems, there will be some conflicts with
rm -f "$1"/threads.h # does not currently work anyways # newlib. For now, universal interfaces get the right of way.
rm -f "$1"/memory.h # non-standard aliasof string.h rm -f Threads.h # thread.h: does not currently work anyways
rm -f "$1"/strings.h # traditional bsd string functions 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 {} . \;) (cd "$1" && find "../../CIncludes" -name '*.h' -exec ln -s {} . \;)
} }