zpaqd: fix cross compilation
This commit is contained in:
parent
8aeafc25c9
commit
a2aee62573
1 changed files with 2 additions and 2 deletions
|
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ unzip ];
|
||||
|
||||
buildPhase = ''
|
||||
g++ ${compileFlags} -fPIC --shared libzpaq.cpp -o libzpaq.so
|
||||
g++ ${compileFlags} -L. -L"$out/lib" -lzpaq zpaqd.cpp -o zpaqd
|
||||
$CXX ${compileFlags} -fPIC --shared libzpaq.cpp -o libzpaq.so
|
||||
$CXX ${compileFlags} -L. -L"$out/lib" -lzpaq zpaqd.cpp -o zpaqd
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
|
|
Loading…
Reference in a new issue