On Wed, 25 Nov 2026 13:54:26 GMT, Lukasz Kostyra <[email protected]> wrote:
>> buildSrc/win.gradle line 403:
>>
>>> 401: WIN.prismD3D12.ccFlags = [ccFlags, "/std:c++20",
>>> "/I${project("graphics").projectDir}/build/gensrc/d3d12-headers"].flatten()
>>> 402: WIN.prismD3D12.linker = linker
>>> 403: WIN.prismD3D12.linkFlags = IS_STATIC_BUILD ? [linkFlags, D3D12Libs,
>>> "user32.lib"].flatten() : [linkFlags, D3D12Libs].flatten();
>>
>> Isn't it the other way around, or is this different for D3D12?
>> For refernece, this is the line above:
>> `WIN.prismD3D.linkFlags = (IS_STATIC_BUILD ? [linkFlags] : [linkFlags,
>> "user32.lib"]).flatten()`
>
> Oh! True, I mixed those up.
>
> I have to wonder if this is actually needed then, since non-static builds
> worked fine across the board for us. Can you check if GraalVM build would
> work before introducing this change?
Yes, will do!
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/2346#discussion_r4696755047