libarchive: fix .la file for lzo2

This commit is contained in:
Luca Bruno 2015-09-25 14:06:23 +02:00
parent 2896861c7e
commit 7d1cb980bf

View File

@ -26,7 +26,9 @@ stdenv.mkDerivation rec {
'' else null; '' else null;
preFixup = '' 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 = { meta = {