Fix build on travis and with CryptoTokenKit enabled

This commit is contained in:
Raul Metsma 2021-02-08 21:43:58 +02:00 committed by Frank Morgner
parent 1325d5c333
commit 578128e464
2 changed files with 2 additions and 0 deletions

View File

@ -89,6 +89,7 @@ before_install:
popd;
export PATH="/usr/local/opt/ccache/libexec:$PATH";
git clone https://github.com/frankmorgner/OpenSCToken.git;
sudo rm -rf /Library/Developer/CommandLineTools
fi
- if [ "$TRAVIS_OS_NAME" = "osx" -a "$TRAVIS_PULL_REQUEST" = "false" -a -n "$encrypted_3b9f0b9d36d1_key" ]; then
openssl aes-256-cbc -K $encrypted_3b9f0b9d36d1_key -iv $encrypted_3b9f0b9d36d1_iv -in .github/secrets.tar.enc -out .github/secrets.tar -d;

View File

@ -59,6 +59,7 @@ if test -n "${BUILD_ARM}"; then
export CFLAGS="$CFLAGS -arch x86_64 -arch arm64"
export LDFLAGS="$LDFLAGS -arch x86_64 -arch arm64"
fi
export OBJCFLAGS=$CFLAGS
if ! test -e $BUILDPATH/openpace_bin/$PREFIX/lib/pkgconfig; then
if ! test -e openpace; then