Commit abc9303d7388e3bda7c2db7940dc51f9aa7968b6

Authored by Perry Werneck
1 parent 2982602b
Exists in develop

Debugging macos build.

Showing 1 changed file with 6 additions and 6 deletions   Show diff stats
mac/ci-build.sh
1 1 #!/bin/bash
2 2  
3   -echo "------------------ CURL"
4   -brew --prefix curl
5   -
6   -echo "------------------ OpenSSL "
7   -brew --prefix openssl
  3 +#export LIBCURL_LIBS="-L$(brew --prefix curl)/lib"
  4 +#export LIBCURL_CFLAGS="-I$(brew --prefix curl)/include"
8 5  
  6 +export PKG_CONFIG_PATH="$(brew --prefix curl)/lib/pkgconfig:$(brew --prefix openssl)/lib/pkgconfig"
9 7 PROJECT_NAME=$(grep AC_INIT configure.ac | cut -d[ -f2 | cut -d] -f1)
10 8 VERSION=$(grep AC_INIT configure.ac | cut -d[ -f3 | cut -d] -f1)
11 9  
  10 +echo "${PKG_CONFIG_PATH}"
  11 +pkg-config --list-all
  12 +
12 13 ./autogen.sh --prefix="/${PROJECT_NAME}/${VERSION}"
13 14 if [ "$?" != "0" ]; then
14 15 exit -1
15 16 fi
16 17  
17 18 make all
18   -./autogen.sh
19 19 if [ "$?" != "0" ]; then
20 20 exit -1
21 21 fi
... ...