Skip to content

build: adjust the linker flags for JavaKit #163

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 9, 2024
Merged

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Nov 8, 2024

-rpath is not a universally valid flag for the linker. Adjust the linker flags to add the library search path on Windows and elide the -rpath flag. It is unclear why there is no server subdirectory under lib when using the Oracle JDK 23, but this allows us to find the necessary library.

`-rpath` is not a universally valid flag for the linker. Adjust the
linker flags to add the library search path on Windows and elide the
`-rpath` flag. It is unclear why there is no `server` subdirectory under
`lib` when using the Oracle JDK 23, but this allows us to find the
necessary library.
Copy link
Collaborator

@ktoso ktoso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just formatting it the same way as above snippet

@ktoso ktoso merged commit 0222489 into swiftlang:main Nov 9, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants