Unverified Commit cdfc4c54 authored by Emily's avatar Emily Committed by GitHub
Browse files

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

chromium: add libglvnd to rpath
parents af76d9e3 c475ac32
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 = {