wine: fix missing runpath entries
This commit is contained in:
@@ -209,7 +209,7 @@ stdenv.mkDerivation (
|
|||||||
# LD_LIBRARY_PATH.
|
# LD_LIBRARY_PATH.
|
||||||
NIX_LDFLAGS = toString (
|
NIX_LDFLAGS = toString (
|
||||||
map (path: "-rpath " + path) (
|
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
|
# libpulsecommon.so is linked but not found otherwise
|
||||||
++ lib.optionals supportFlags.pulseaudioSupport (
|
++ lib.optionals supportFlags.pulseaudioSupport (
|
||||||
map (x: "${lib.getLib x}/lib/pulseaudio") (toBuildInputs pkgArches (pkgs: [ pkgs.libpulseaudio ]))
|
map (x: "${lib.getLib x}/lib/pulseaudio") (toBuildInputs pkgArches (pkgs: [ pkgs.libpulseaudio ]))
|
||||||
|
|||||||
Reference in New Issue
Block a user