RFR: 7903731: Jextract should support macOS frameworks [v3]

Maurizio Cimadamore mcimadamore at openjdk.org
Mon Jan 6 11:26:48 UTC 2025


On Thu, 2 Jan 2025 19:14: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:
> 
>   use consistent spacing

src/main/java/org/openjdk/jextract/JextractTool.java line 561:

> 559:                     Library library = Library.parse(lib);
> 560:                     Path libPath = Paths.get(library.libSpec());
> 561:                     if (!useSystemLoadLibrary ||

Do we accept absolute path for macos frameworks? I thought `-f` only works for _names_ ?

-------------

PR Review Comment: https://git.openjdk.org/jextract/pull/268#discussion_r1904036571


More information about the jextract-dev mailing list