Mingw: generated FAudio.pc file has incorrect/incomplete paths. #379

Open
opened 2025-04-06 09:19:03 -05:00 by aur-r · 1 comment
aur-r commented 2025-04-06 09:19:03 -05:00 (Migrated from github.com)

When using MinGW, the generated "FAudio.pc" contains incorrect or incomplete paths.
libdir=${prefix}
includedir=${prefix}
While using include(GNUInstallDirs with MinGW may have been an issue when "FAudio.pc" was introduced into the code, that is no longer the case in my testing.

faudio-CMAKE_INSTALL-dirs.patch.txt

Maybe someone can look into it.

When using MinGW, the generated "FAudio.pc" contains incorrect or incomplete paths. `libdir=${prefix}` `includedir=${prefix}` While using [`include(GNUInstallDirs`](https://github.com/FNA-XNA/FAudio/blob/master/CMakeLists.txt#L307) with MinGW may have been an issue when "FAudio.pc" was introduced into the code, that is no longer the case in my testing. [faudio-CMAKE_INSTALL-dirs.patch.txt](https://github.com/user-attachments/files/19621760/faudio-CMAKE_INSTALL-dirs.patch.txt) Maybe someone can look into it.
flibitijibibo commented 2025-04-06 09:30:03 -05:00 (Migrated from github.com)

Can merge a fix for this whenever someone gets to it - I don't actually think we have any users of this right now; FNA doesn't install the fnalibs and Wine statically links it into their XAudio2 binaries, so these lines can probably be changed without much consequence.

Can merge a fix for this whenever someone gets to it - I don't actually think we have any users of this right now; FNA doesn't install the fnalibs and Wine statically links it into their XAudio2 binaries, so these lines can probably be changed without much consequence.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-FNA-XNA/FAudio#379
No description provided.