ci: force osx libffi dep to be found
authorMike Blumenkrantz <zmike@samsung.com>
Thu, 14 Mar 2019 15:53:50 +0000 (11:53 -0400)
committerYeongjong Lee <yj34.lee@samsung.com>
Tue, 2 Apr 2019 03:45:17 +0000 (12:45 +0900)
this is also really, really stupid.

ref D8305

Reviewed-by: Stefan Schmidt <stefan@datenfreihafen.org>
Differential Revision: https://phab.enlightenment.org/D8340

.ci/ci-configure.sh

index dc50f44..c4b295e 100755 (executable)
@@ -147,7 +147,8 @@ else
 
     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