mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
zpaqd: fix cross compilation
This commit is contained in:
parent
8aeafc25c9
commit
a2aee62573
@ -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 New Issue
Block a user