Skip to content

Commit

Permalink
openjdk@8 1.8.0-432
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinit committed Oct 31, 2024
1 parent 4f8cde5 commit a7b00bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Formula/o/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ def install
# Pre-build JNF (JavaNativeFoundation.framework) in macOS Sonoma or newer
# to fix the issue of its necessary headers not being found.
if MacOS.version >= :sonoma
ENV["SDKPATH"] = ENV["SDKROOT"] = MacOS::CLT.sdk_path(MacOS.version)
resource("JavaNativeFoundation").stage do
cd "apple/JavaNativeFoundation" do
xcodebuild "-arch", Hardware::CPU.arch,
Expand All @@ -152,7 +151,7 @@ def install
--with-extra-cxxflags=-F#{my_jnf_path}
]
ldflags << "-F#{my_jnf_path}"
ldflags << "-Wl,-rpath,#{MacOS::CLT.sdk_path(MacOS.version)}/System/Library/Frameworks"
ldflags << "-Wl,-rpath,#{MacOS.sdk_path}/System/Library/Frameworks"
ENV["DYLD_FALLBACK_FRAMEWORK_PATH"] = ENV["DYLD_LIBRARY_PATH"] = my_jnf_path
end
end
Expand Down

0 comments on commit a7b00bb

Please sign in to comment.