Merge pull request #268715 from 999eagle/fix/chromium-wayland

chromium: add libglvnd to rpath
This commit is contained in:
Emily
2023-11-20 19:58:58 +01:00
committed by GitHub
@@ -47,6 +47,7 @@
, glibc # gconv + locale
# postFixup:
, vulkan-loader
, libglvnd
# Package customization:
, cupsSupport ? true, cups ? null
@@ -479,7 +480,7 @@ let
# libpci (from pciutils) is needed by dlopen in angle/src/gpu_info_util/SystemInfo_libpci.cpp
chromiumBinary="$libExecPath/$packageName"
origRpath="$(patchelf --print-rpath "$chromiumBinary")"
patchelf --set-rpath "${lib.makeLibraryPath [ libGL vulkan-loader pciutils ]}:$origRpath" "$chromiumBinary"
patchelf --set-rpath "${lib.makeLibraryPath [ libGL libglvnd vulkan-loader pciutils ]}:$origRpath" "$chromiumBinary"
'';
passthru = {