mirror of
https://github.com/cuberite/libevent.git
synced 2025-09-16 15:56:15 -04:00
travis-ci/osx: fix compiling/linking openssl libraries
And we need that $(echo /path/*) otherwise bash will expand it only during assignment that variable to another one, and this doesn't work correctly.
This commit is contained in:
parent
d7ceae593a
commit
9d2f8d4b80
@ -29,6 +29,14 @@ before_install:
|
|||||||
if [ "$CC" == "gcc" ]; then
|
if [ "$CC" == "gcc" ]; then
|
||||||
export CC=$(ls -t /usr/local/bin/gcc-?.?);
|
export CC=$(ls -t /usr/local/bin/gcc-?.?);
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
export OPENSSL_ROOT=$(echo /usr/local/Cellar/openssl/*);
|
||||||
|
export
|
||||||
|
CMAKE_INCLUDE_PATH=$OPENSSL_ROOT/include
|
||||||
|
CMAKE_LIBRARY_PATH=$OPENSSL_ROOT/lib;
|
||||||
|
export
|
||||||
|
CFLAGS=-I$CMAKE_INCLUDE_PATH
|
||||||
|
LDFLAGS=-L$CMAKE_LIBRARY_PATH;
|
||||||
fi
|
fi
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user