Skip to content

Commit 630032f

Browse files
committed
fpc: use MacOS.sdk_for_formula
1 parent 50561cf commit 630032f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Formula/f/fpc.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def install
8787
end
8888

8989
# Help fpc find the startup files (crt1.o and friends)
90-
args = if OS.mac? && (sdk = MacOS.sdk_path_if_needed)
90+
args = if OS.mac? && (sdk = MacOS.sdk_for_formula(self).path)
9191
%W[OPT="-XR#{sdk}"]
9292
else
9393
[]

0 commit comments

Comments
 (0)