Re: [PATCH v2 0/1] MR52: configure: Allow linking against static SPIRV-Tools.
28 Jun
2023
28 Jun
'23
10:57 p.m.
I think that's a libtool/automake thing. The vkd3d-compiler target will get the -lSPIRV-Tools-shared flag from libvkd3d-shader.la, but not the -L flag with the additional path, so ld won't know where to find libSPIRV-Tools-shared.so unless you e.g. set an appropriate LD_LIBRARY_PATH. Adding @SPIRV_TOOLS_LIBS@ to vkd3d_compiler_LDADD (and DEMOS_LDADD) avoids the issue at build time, but you'll still need to set LD_LIBRARY_PATH to run the resulting executable. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/52#note_37229
903
Age (days ago)
903
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henri Verbeet (@hverbeet)