fix for case-insensitive systems

This commit is contained in:
Wolfgang Thaller 2019-09-29 21:00:14 +02:00
parent 6c39d9121f
commit 3d84d382ad
2 changed files with 5 additions and 4 deletions

View File

@ -186,9 +186,9 @@ function removeConflictingHeaders()
{
# On case-insensitive file systems, there will be some conflicts with
# newlib. For now, universal interfaces get the right of way.
rm -f "$2/Threads.h" # thread.h: does not currently work anyways
rm -f "$2/Memory.h" # memory.h: non-standard aliasof string.h
rm -f "$2/Strings.h" # strings.h: traditional bsd string functions
rm -f "$1/Threads.h" # thread.h: does not currently work anyways
rm -f "$1/Memory.h" # memory.h: non-standard aliasof string.h
rm -f "$1/Strings.h" # strings.h: traditional bsd string functions
}
@ -213,6 +213,7 @@ function linkInterfacesAndLibraries()
if [ $BUILD_PPC != false ]; then
ln -sf ../RIncludes "$PREFIX/powerpc-apple-macos/RIncludes"
removeConflictingHeaders "$PREFIX/powerpc-apple-macos/include"
linkThings "../../$1/CIncludes" "$PREFIX/powerpc-apple-macos/include" "*.h"
fi

@ -1 +1 @@
Subproject commit 762bb2eb52be72539904da2ad22c786bd3ac24c5
Subproject commit 07f6a99aa011a37d729b9c17a707b6c4ce2ac6ee