openjdk: Add lib{fontconfig,Xcursor,Xinerama} to rpaths.

This commit is contained in:
Shea Levy 2012-10-09 11:11:19 -04:00
parent 85398493bf
commit 5150b55bf2
1 changed files with 8 additions and 0 deletions

View File

@ -17,6 +17,9 @@
, libXrender
, libXtst
, libXi
, libXinerama
, libXcursor
, fontconfig
, cpio
, jreOnly ? false
}:
@ -82,8 +85,13 @@ stdenv.mkDerivation rec {
libXrender
libXtst
libXi
libXinerama
libXcursor
fontconfig
];
NIX_LDFLAGS = "-lfontconfig -lXcursor -lXinerama";
postUnpack = ''
mkdir -p drops
cp ${jaxp_src} drops/${jaxp_src_name}