Unverified Commit ae3e86ea authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

wine: fix missing runpath entries (#462049)

parents fb415add 33ae8c3c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -209,7 +209,7 @@ stdenv.mkDerivation (
    # LD_LIBRARY_PATH.
    NIX_LDFLAGS = toString (
      map (path: "-rpath " + path) (
        map (x: "${lib.getLib x}/lib") [ stdenv.cc.cc ]
        map (x: "${lib.getLib x}/lib") ([ stdenv.cc.cc ] ++ finalAttrs.buildInputs)
        # libpulsecommon.so is linked but not found otherwise
        ++ lib.optionals supportFlags.pulseaudioSupport (
          map (x: "${lib.getLib x}/lib/pulseaudio") (toBuildInputs pkgArches (pkgs: [ pkgs.libpulseaudio ]))