wayvnc: Add the missing dependency on librt

See #90452. For some reason the build was working initially but stated
failing after some other changes. The problem is a missing dependency to
link with librt for shm_open and shm_unlink [0].

Fix #90452.

[0]: https://www.man7.org/linux/man-pages/man3/shm_open.3.html
This commit is contained in:
Michael Weiss
2020-06-15 12:24:25 +02:00
parent 63d98cab9b
commit 77bf0246b7
2 changed files with 22 additions and 0 deletions
@@ -13,6 +13,8 @@ stdenv.mkDerivation rec {
sha256 = "0aa12fkbwhzs0g2pqw1b27l33nn5dpbcvsf1z8h88kwsf9xdvb2r";
};
patches = [ ./add-missing-librt.patch ];
postPatch = ''
substituteInPlace meson.build \
--replace "version: '0.1.0'" "version: '${version}'"