Skip to content

Commit 028ca7f

Browse files
authored
Merge pull request #253900 from Homebrew/fpc-sdk
fpc: use `MacOS.sdk_for_formula`
2 parents 2a30b5c + 630032f commit 028ca7f

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)