MINGW-packages/mingw-w64-openscad/003-fix-linking-hidapi-clang.patch
2022-04-17 19:32:25 +01:00

12 lines
226 B
Diff

--- a/features/hidapi.prf
+++ b/features/hidapi.prf
@@ -43,7 +43,7 @@
}
}
-*-g++* {
+*-g++*:!*-clang* {
GCC_VERSION = $$system("g++ -dumpversion | cut -d. -f1")
lessThan(GCC_VERSION, 5) {
DISABLE_HIDAPI="yes"