xca: fix package
For some reason library paths are not set at all for some libraries during the build. Wrapper with LD_LIBRARY_PATH set for relevant libraries is currently solution.
This commit is contained in:
parent
5e460b2dee
commit
115b7313c5
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, pkgconfig, which, openssl, qt4, libtool }:
|
||||
{ stdenv, fetchurl, pkgconfig, which, openssl, qt4, libtool, gcc, makeWrapper }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "xca-${version}";
|
||||
@ -15,7 +15,12 @@ stdenv.mkDerivation rec {
|
||||
prefix=$out ./configure ${openssl} ${libtool}
|
||||
'';
|
||||
|
||||
buildInputs = [ openssl qt4 libtool ];
|
||||
postInstall = ''
|
||||
wrapProgram "$out/bin/xca" \
|
||||
--prefix LD_LIBRARY_PATH : "${qt4}/lib:${gcc.gcc}/lib:${gcc.gcc}/lib64:${openssl}/lib:${libtool}/lib"
|
||||
'';
|
||||
|
||||
buildInputs = [ openssl qt4 libtool gcc makeWrapper ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
Loading…
Reference in New Issue
Block a user