diff options
author | Will Dietz <w@wdtz.org> | 2019-01-20 15:39:33 -0600 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-01-21 00:31:17 -0600 |
commit | 783a781fb3e072a803b5902c3f0f45b30a4463c4 (patch) | |
tree | 63cf764673a66a082c5ab9dc13b7e9ccbc6f557b /pkgs/development/libraries/smpeg | |
parent | 09b815ebf4531e0f4a445c28610b426802d26c3c (diff) |
smpeg: fix build by linking against libX11 explicitly
Error: /nix/store/anvi6cx0rcj9xn48af849qnr590avyn3-binutils-2.30/bin/ld: gtv.o: undefined reference to symbol 'XMoveWindow' /nix/store/ps571bzx27x5imzifw4wiah32mpqpgva-libX11-1.6.7/lib/libX11.so.6: error adding symbols: DSO missing from command line
Diffstat (limited to 'pkgs/development/libraries/smpeg')
-rw-r--r-- | pkgs/development/libraries/smpeg/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/smpeg/default.nix b/pkgs/development/libraries/smpeg/default.nix index 7119f76c55fda..35d5075a949a0 100644 --- a/pkgs/development/libraries/smpeg/default.nix +++ b/pkgs/development/libraries/smpeg/default.nix @@ -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"; |