Add xcode tools llvm as default path (#389)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e5aee18..c17a0a6 100644
--- a/CHANGELOG.md
+++ b/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/lib/src/strings.dart b/lib/src/strings.dart
index f3bfb79..7f0f028 100644
--- a/lib/src/strings.dart
+++ b/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/pubspec.yaml b/pubspec.yaml
index c054c50..d249b7b 100644
--- a/pubspec.yaml
+++ b/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