CI: Update browser plugin ref and build scripts.

Hopefully this will fix a crash from CEF on 10.9
This commit is contained in:
Colin Edwards
2017-01-09 18:52:20 -06:00
parent 1310e0404f
commit 770a9b7e67
3 changed files with 6 additions and 7 deletions

View File

@@ -8,13 +8,12 @@ tar -xf ./osx-deps.tar.gz -C /tmp
# CEF Stuff
cd ../
curl -kLO http://opensource.spotify.com/cefbuilds/cef_binary_3.2704.1434.gec3e9ed_macosx64.tar.bz2
tar -xf ./cef_binary_3.2704.1434.gec3e9ed_macosx64.tar.bz2
cd ./cef_binary_3.2704.1434.gec3e9ed_macosx64
curl -kLO http://opensource.spotify.com/cefbuilds/cef_binary_3.2883.1540.gedbfb20_macosx64.tar.bz2
tar -xf ./cef_binary_3.2883.1540.gedbfb20_macosx64.tar.bz2
cd ./cef_binary_3.2883.1540.gedbfb20_macosx64
mkdir build
cd ./build
cmake -DCMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-std=c++11 -stdlib=libc++" ..
cmake -DCMAKE_CXX_FLAGS="-std=c++11 -stdlib=libc++" -DCMAKE_EXE_LINKER_FLAGS="-std=c++11 -stdlib=libc++" -DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 ..
make -j4
mkdir libcef_dll
mv ./libcef_dll_wrapper/libcef_dll_wrapper.a ./libcef_dll/libcef_dll_wrapper.a
cd ../../