Travis CI: emscripten: fix failing CMake install stage

This commit is contained in:
Ahmad Fatoum 2019-01-06 21:13:19 +01:00
parent 1036de389a
commit dc415b9a5e
No known key found for this signature in database
GPG Key ID: C3EAC3DE9321D59B

View File

@ -132,7 +132,7 @@ script:
..
- $RUNNER cmake --build . --target
- if [ "$RELEASE" != "NO" ]; then $RUNNER cmake --build . --target package; fi
- $RUNNER $(which sudo) "$(which cmake)" --build . --target install
- $(which sudo) $RUNNER "$(which cmake)" --build . --target install
- if [ ! "$DONT_TEST" ]; then
pkg-config --static --libs raylib;
nm -g release/libraylib.a | grep glfwGetProcAddress || (echo "libraylib.a doesn't contain GLFW symbols! Aborting..." && false);