Skip to content
Browse files

in openssl_postinstall __sm.files.contain requires second empty param

  • Loading branch information...
1 parent 7e360ba commit 34a10a458d516b0315e1c94dc3cf2a16893b2005 @mpapis mpapis committed Aug 2, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 openssl/shell/functions
View
2 openssl/shell/functions
@@ -22,7 +22,7 @@ openssl_postinstall()
# This looks like openssl bug - it requires -lz when linking static
# but it is not available in the default ... not sure what to do with it
typeset __pc_file="${install_path}/lib/pkgconfig/openssl.pc"
- __sm.files.contain 'Libs:.*-lz' "${__pc_file}" ||
+ __sm.files.contain 'Libs:.*-lz' '' "${__pc_file}" ||
{
sed -e '/^Libs:/ s/Libs:/Libs: -lz/' < "${__pc_file}" > "${__pc_file}.replaced" &&
mv "${__pc_file}.replaced" "${__pc_file}" ||

0 comments on commit 34a10a4

Please sign in to comment.
Something went wrong with that request. Please try again.