diff options
author | Guillaume Bouchard <guillaum.bouchard@gmail.com> | 2020-05-04 14:39:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 12:39:44 +0000 |
commit | b3c18fe2be0e0078c7b8de9f331357227ccddc39 (patch) | |
tree | 42a9af5465fb86b502378bf092e40629d525fbe2 /pkgs/os-specific | |
parent | 2fb5dac372fedd482ef3c65b608810bb7dd45083 (diff) | |
download | nixlib-b3c18fe2be0e0078c7b8de9f331357227ccddc39.tar nixlib-b3c18fe2be0e0078c7b8de9f331357227ccddc39.tar.gz nixlib-b3c18fe2be0e0078c7b8de9f331357227ccddc39.tar.bz2 nixlib-b3c18fe2be0e0078c7b8de9f331357227ccddc39.tar.lz nixlib-b3c18fe2be0e0078c7b8de9f331357227ccddc39.tar.xz nixlib-b3c18fe2be0e0078c7b8de9f331357227ccddc39.tar.zst nixlib-b3c18fe2be0e0078c7b8de9f331357227ccddc39.zip |
apitrace: fix OpenGL library path and Qt GUI (#86475)
For unknown reasons, Apitrace breaks the runpath of the traced program. OpenGL programs on nix are looking at /run/opengl-driver/lib to find the system OpenGL driver. This change: - add path /run/opengl-driver{-32} to the RPATH of the wrapper libraries. This fixs tracing with `apitrace trace`. - add rpath to `libglnvd` and `libGL` to the `{e}glretrace` binaries. These libraries are loaded at runtime, but does not appears as NEEDED in the binaries, hence the need for the explicit rpath addition. This fix `{e}glretrace`. - Explicitly add Qt wrapper to `qapitrace`. It fixs the GUI. Co-authored-by: Florian Klink <flokli@flokli.de> Co-authored-by: Florian Klink <flokli@flokli.de>
Diffstat (limited to 'pkgs/os-specific')
0 files changed, 0 insertions, 0 deletions