From 45240f6cb07632b793ee17c141df3cdfc73fa653 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Tue, 7 Jul 2026 19:26:41 -0400 Subject: [PATCH] fix generate.dart on macos --- scripts/generate.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/generate.dart b/scripts/generate.dart index 8d72ab1..0b0cf7c 100644 --- a/scripts/generate.dart +++ b/scripts/generate.dart @@ -17,7 +17,7 @@ void main(List args) async { entryPoints: [File(join(repoDir.path, "pkg", "ffi", "gomuksffi.h")).uri], compilerOptions: [ "--no-warnings", - if (Platform.isMacOS) "${await getXCodeSDK()}/usr/include", + if (Platform.isMacOS) "-I${await getXCodeSDK()}/usr/include", ], ), functions: Functions.includeAll,