irrlicht: link to X11 libs explicitly

This allows applications that require irrlicht to depend on the X
libraries implicitly rather than explicitly.
This commit is contained in:
Linus Heckemann 2017-05-29 18:31:08 +01:00
parent a49c2366ef
commit c14bf4f2b1

View File

@ -17,7 +17,7 @@ stdenv.mkDerivation rec {
'';
buildPhase = ''
make sharedlib NDEBUG=1
make sharedlib NDEBUG=1 "LDFLAGS=-lX11 -lGL -lXxf86vm"
'';
preInstall = ''