RFR: 7903731: Jextract should support macOS frameworks [v10]
Maurizio Cimadamore
mcimadamore at openjdk.org
Fri Mar 7 18:05:11 UTC 2025
On Fri, 7 Mar 2025 16:49:26 GMT, Nizar Benalla <nbenalla at openjdk.org> wrote:
>> Read the JBS issue for more detail.
>>
>> This patch adds two new mac specific options, to make it easier to use frameworks and remove the need of a `compile_flags.txt` file. An exception is thrown if those options are used from an other platform, the error message is inspired from `jpackage`
>
> Nizar Benalla has updated the pull request incrementally with one additional commit since the last revision:
>
> renaming variable to be more accurate
src/main/java/org/openjdk/jextract/JextractTool.java line 539:
> 537: for (String lib : optionSet.valuesOf("-" + optionString)) {
> 538: try {
> 539: lib = optionString.equals("framework") ?
Is the argument of `framework` always a relative path? Or does macos also allow absolute paths to be used? In that case, should be check for something that starts with `/` ?
-------------
PR Review Comment: https://git.openjdk.org/jextract/pull/268#discussion_r1985476128
More information about the jextract-dev
mailing list