mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
picosat: fix ar and ranlib usage for cross
This commit is contained in:
parent
36b2706916
commit
4c767417ea
@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
|
||||
|
||||
prePatch = ''
|
||||
substituteInPlace picosat.c --replace "sys/unistd.h" "unistd.h"
|
||||
|
||||
substituteInPlace makefile.in \
|
||||
--replace 'ar rc' '$(AR) rc' \
|
||||
--replace 'ranlib' '$(RANLIB)'
|
||||
'';
|
||||
|
||||
configurePhase = "./configure.sh --shared --trace";
|
||||
|
Loading…
Reference in New Issue
Block a user