Skip to content

Commit 8870ead

Browse files
committed
Fix some frameworks not linking macos
Pull request #16888 removed searching for libraries with no extensions when linking frameworks... this adds that feature back.
1 parent a241cf9 commit 8870ead

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6929,9 +6929,9 @@ fn accessFrameworkPath(
69296929
) !bool {
69306930
const sep = fs.path.sep_str;
69316931

6932-
for (&[_][]const u8{ "tbd", "dylib" }) |ext| {
6932+
for (&[_][]const u8{ ".tbd", ".dylib", "" }) |ext| {
69336933
test_path.clearRetainingCapacity();
6934-
try test_path.writer().print("{s}" ++ sep ++ "{s}.framework" ++ sep ++ "{s}.{s}", .{
6934+
try test_path.writer().print("{s}" ++ sep ++ "{s}.framework" ++ sep ++ "{s}{s}", .{
69356935
framework_dir_path,
69366936
framework_name,
69376937
framework_name,

0 commit comments

Comments
 (0)