libarchive: fix .la file for lzo2
This commit is contained in:
parent
45b1f5858c
commit
702fde3a91
1 changed files with 3 additions and 1 deletions
|
@ -26,7 +26,9 @@ stdenv.mkDerivation rec {
|
|||
'' else null;
|
||||
|
||||
preFixup = ''
|
||||
sed 's|-lcrypto|-L${openssl}/lib -lcrypto|' -i $out/lib/libarchive.la
|
||||
sed -i $out/lib/libarchive.la \
|
||||
-e 's|-lcrypto|-L${openssl}/lib -lcrypto|' \
|
||||
-e 's|-llzo2|-L${lzo}/lib -llzo2|'
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue