this is also really, really stupid.
ref D8305
Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D8340
export CFLAGS="-I/usr/local/opt/openssl/include -frewrite-includes $CFLAGS"
export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"
- export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"
+ LIBFFI_VER=$(brew list --versions libffi|head -n1|cut -d' ' -f2)
+ export PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig:/usr/local/Cellar/libffi/$LIBFFI_VER/lib/pkgconfig
# Normal build test of all targets
rm -f ~/.ccache/ccache.conf