From 2e59bafce645ce583879b8fccdeb982aaa393d6a Mon Sep 17 00:00:00 2001 From: toasterofbread Date: Sun, 24 Nov 2024 22:25:26 +0000 Subject: [PATCH] . --- library/build.gradle.kts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/library/build.gradle.kts b/library/build.gradle.kts index f2467cd..fad98a8 100644 --- a/library/build.gradle.kts +++ b/library/build.gradle.kts @@ -110,9 +110,12 @@ kotlin { overrides.overrideAnonymousStructIndex(24, 10) overrides.overrideAnonymousStructIndex(25, 11) - // if (OperatingSystem.current().isWindows()) { - // include_dirs += File("C:\\cygwin\\usr\\include").listFiles().orEmpty().map { it.absolutePath } - // } + if (OperatingSystem.current().isWindows()) { + include_dirs += File("C:\\cygwin\\lib").listFiles().orEmpty().mapNotNull { file -> + if (file.resolve("include").isDirectory) file.absolutePath + else null + } + } } } }