forked from Nexus/nexus
fix generate.dart on macos
This commit is contained in:
parent
4c90fbd7d1
commit
45240f6cb0
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ void main(List<String> args) async {
|
||||||
entryPoints: [File(join(repoDir.path, "pkg", "ffi", "gomuksffi.h")).uri],
|
entryPoints: [File(join(repoDir.path, "pkg", "ffi", "gomuksffi.h")).uri],
|
||||||
compilerOptions: [
|
compilerOptions: [
|
||||||
"--no-warnings",
|
"--no-warnings",
|
||||||
if (Platform.isMacOS) "${await getXCodeSDK()}/usr/include",
|
if (Platform.isMacOS) "-I${await getXCodeSDK()}/usr/include",
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
functions: Functions.includeAll,
|
functions: Functions.includeAll,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue