Fix some frameworks not linking macos
Pull request #16888 removed searching for libraries with no extensions when linking frameworks... this adds that feature back.
This commit is contained in:
@@ -6929,9 +6929,9 @@ fn accessFrameworkPath(
|
||||
) !bool {
|
||||
const sep = fs.path.sep_str;
|
||||
|
||||
for (&[_][]const u8{ "tbd", "dylib" }) |ext| {
|
||||
for (&[_][]const u8{ ".tbd", ".dylib", "" }) |ext| {
|
||||
test_path.clearRetainingCapacity();
|
||||
try test_path.writer().print("{s}" ++ sep ++ "{s}.framework" ++ sep ++ "{s}.{s}", .{
|
||||
try test_path.writer().print("{s}" ++ sep ++ "{s}.framework" ++ sep ++ "{s}{s}", .{
|
||||
framework_dir_path,
|
||||
framework_name,
|
||||
framework_name,
|
||||
|
||||
Reference in New Issue
Block a user