From e55c367468482bee86ba7b903761bcae01b261a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 31 Dec 2024 18:14:47 +0200 Subject: [PATCH] install: Make ATL headers use consistent lower case includes of other headers This makes clang-cl use of e.g. atlbase.h work on case sensitive file systems (as atlbase.h originally includes OleCtl.h), and makes MSVC use of atlbase.h produce dependency files that don't require files to be rebuilt every time. This should fix #167. --- install.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/install.sh b/install.sh index d0e20e4..efd0b10 100755 --- a/install.sh +++ b/install.sh @@ -73,6 +73,11 @@ cd .. # and the call to fixinclude lowercases those references. "$ORIG"/lowercase -symlink include "$ORIG"/fixinclude include +if [ -d "atlmfc/include" ]; then + # The ATL headers are lowercased themselves, but they refer to + # WinSDK headers with mixed casing. + "$ORIG"/fixinclude "atlmfc/include" +fi cd bin # vctip.exe is known to cause problems at some times; just remove it. # See https://bugs.chromium.org/p/chromium/issues/detail?id=735226 and