From abc9303d7388e3bda7c2db7940dc51f9aa7968b6 Mon Sep 17 00:00:00 2001 From: Perry Werneck Date: Sat, 25 Mar 2023 12:57:28 -0300 Subject: [PATCH] Debugging macos build. --- mac/ci-build.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mac/ci-build.sh b/mac/ci-build.sh index 3bc8e7e..5b8a2f8 100755 --- a/mac/ci-build.sh +++ b/mac/ci-build.sh @@ -1,21 +1,21 @@ #!/bin/bash -echo "------------------ CURL" -brew --prefix curl - -echo "------------------ OpenSSL " -brew --prefix openssl +#export LIBCURL_LIBS="-L$(brew --prefix curl)/lib" +#export LIBCURL_CFLAGS="-I$(brew --prefix curl)/include" +export PKG_CONFIG_PATH="$(brew --prefix curl)/lib/pkgconfig:$(brew --prefix openssl)/lib/pkgconfig" PROJECT_NAME=$(grep AC_INIT configure.ac | cut -d[ -f2 | cut -d] -f1) VERSION=$(grep AC_INIT configure.ac | cut -d[ -f3 | cut -d] -f1) +echo "${PKG_CONFIG_PATH}" +pkg-config --list-all + ./autogen.sh --prefix="/${PROJECT_NAME}/${VERSION}" if [ "$?" != "0" ]; then exit -1 fi make all -./autogen.sh if [ "$?" != "0" ]; then exit -1 fi -- libgit2 0.21.2