libarchive: fix .la file for lzo2
This commit is contained in:
parent
2896861c7e
commit
7d1cb980bf
@ -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 New Issue
Block a user