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…
x
Reference in New Issue
Block a user