Merge pull request #54408 from dtzWill/fix/smpeg-link-what-you-use

smpeg: fix build by linking against libX11 explicitly
This commit is contained in:
Will Dietz 2019-01-21 13:26:42 -06:00 committed by GitHub
commit 4bbd4243f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,8 @@ stdenv.mkDerivation rec {
--prefix PKG_CONFIG_PATH ":" "${SDL.dev}/lib/pkgconfig"
'';
NIX_LDFLAGS = [ "-lX11" ];
meta = {
homepage = http://icculus.org/smpeg/;
description = "MPEG decoding library";