Statically linking this library is required for the plugin to work under NixOS where there is no such thing as an ambiguous version of libstdc++. This is what happens when you apply ldd to a binary of this package.
[godot-steam-audio/bin]$ ldd libgodot-steam-audio.linux.template_release.x86_64.so
linux-vdso.so.1 (0x00007f2e5f77b000)
libphonon.so => /home/julian/repositories/Godot4_XR_networking/addons/godot-steam-audio/bin/./libphonon.so (0x00007f2e5de00000)
libstdc++.so.6 => not found
libm.so.6 => /nix/store/3dyw8dzj9ab4m8hv5dpyx7zii8d0w6fi-glibc-2.39-52/lib/libm.so.6 (0x00007f2e5f53c000)
libc.so.6 => /nix/store/3dyw8dzj9ab4m8hv5dpyx7zii8d0w6fi-glibc-2.39-52/lib/libc.so.6 (0x00007f2e5dc09000)
/nix/store/3dyw8dzj9ab4m8hv5dpyx7zii8d0w6fi-glibc-2.39-52/lib64/ld-linux-x86-64.so.2 (0x00007f2e5f77d000)
libdl.so.2 => /nix/store/3dyw8dzj9ab4m8hv5dpyx7zii8d0w6fi-glibc-2.39-52/lib/libdl.so.2 (0x00007f2e5f537000)
libpthread.so.0 => /nix/store/3dyw8dzj9ab4m8hv5dpyx7zii8d0w6fi-glibc-2.39-52/lib/libpthread.so.0 (0x00007f2e5f530000)
libstdc++.so.6 => not found
libgcc_s.so.1 => /nix/store/x45xiwvk2v97bw1yp1vb6rnmvhagpgyz-xgcc-13.3.0-libgcc/lib/libgcc_s.so.1 (0x00007f2e5f50b000)
The change, as it was done for the webrtc plugin, looks like this: godotengine/webrtc-native@1de32aa
I understand that this request may be unsolvable if libphonon.so is only distributed as a pre-compiled binary since it also suffers from this issue.
Statically linking this library is required for the plugin to work under NixOS where there is no such thing as an ambiguous version of libstdc++. This is what happens when you apply
lddto a binary of this package.The change, as it was done for the webrtc plugin, looks like this: godotengine/webrtc-native@1de32aa
I understand that this request may be unsolvable if
libphonon.sois only distributed as a pre-compiled binary since it also suffers from this issue.