Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi authored Mar 2, 2024
1 parent 48be9fa commit 8143f25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/g/gfortran/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ package("gfortran")
table.insert(paths, path.join("/usr/lib", target))
table.insert(paths, path.join("/usr/lib/gcc", target, vmajor))
table.insert(paths, path.join(installdir, "lib", target, vmajor))
if is_plat("macosx") then
if package:is_plat("macosx") then
table.insert(paths, path.join("/opt/homebrew/Cellar/gcc", version, "/lib/gcc", vmajor))
end
end
Expand Down

0 comments on commit 8143f25

Please sign in to comment.