[ffigen] Add xcode tools llvm as default path (#389)
diff --git a/pkgs/ffigen/CHANGELOG.md b/pkgs/ffigen/CHANGELOG.md index e5aee18..c17a0a6 100644 --- a/pkgs/ffigen/CHANGELOG.md +++ b/pkgs/ffigen/CHANGELOG.md
@@ -1,3 +1,7 @@ +# 5.0.1 + +- Add a the xcode tools llvm as default path on MacOS. + # 5.0.0 - Stable release targeting Dart 2.17, supporting ABI-specific integer types.
diff --git a/pkgs/ffigen/lib/src/strings.dart b/pkgs/ffigen/lib/src/strings.dart index f3bfb79..7f0f028 100644 --- a/pkgs/ffigen/lib/src/strings.dart +++ b/pkgs/ffigen/lib/src/strings.dart
@@ -210,6 +210,7 @@ const macOsDylibLocations = { '/usr/local/opt/llvm/lib/', '/opt/homebrew/opt/llvm/lib/', + '/Library/Developer/CommandLineTools/usr/', }; // Writen doubles.
diff --git a/pkgs/ffigen/pubspec.yaml b/pkgs/ffigen/pubspec.yaml index c054c50..d249b7b 100644 --- a/pkgs/ffigen/pubspec.yaml +++ b/pkgs/ffigen/pubspec.yaml
@@ -3,7 +3,7 @@ # BSD-style license that can be found in the LICENSE file. name: ffigen -version: 5.0.0 +version: 5.0.1 description: Generator for FFI bindings, using LibClang to parse C header files. repository: https://github.com/dart-lang/ffigen