Skip to content

Commit 45240f6

Browse files
committed
fix generate.dart on macos
1 parent 4c90fbd commit 45240f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/generate.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ void main(List<String> args) async {
1717
entryPoints: [File(join(repoDir.path, "pkg", "ffi", "gomuksffi.h")).uri],
1818
compilerOptions: [
1919
"--no-warnings",
20-
if (Platform.isMacOS) "${await getXCodeSDK()}/usr/include",
20+
if (Platform.isMacOS) "-I${await getXCodeSDK()}/usr/include",
2121
],
2222
),
2323
functions: Functions.includeAll,

0 commit comments

Comments
 (0)