Travis build fixes
This commit is contained in:
parent
e5b5fb2773
commit
9601ed79f1
@ -19,6 +19,7 @@ matrix:
|
||||
- libxinerama-dev
|
||||
- libxcursor-dev
|
||||
- libunistring-dev
|
||||
- libpng-dev
|
||||
|
||||
- os: linux
|
||||
dist: trusty
|
||||
@ -38,6 +39,7 @@ matrix:
|
||||
- libxinerama-dev
|
||||
- libxcursor-dev
|
||||
- libunistring-dev
|
||||
- libpng-dev
|
||||
|
||||
- os: linux
|
||||
dist: trusty
|
||||
@ -57,6 +59,7 @@ matrix:
|
||||
- libxinerama-dev
|
||||
- libxcursor-dev
|
||||
- libunistring-dev
|
||||
- libpng-dev
|
||||
- clang
|
||||
- os: osx
|
||||
language: generic
|
||||
@ -82,6 +85,7 @@ install: |
|
||||
brew install python3;
|
||||
brew install glfw;
|
||||
brew install libunistring;
|
||||
brew install libpng;
|
||||
else
|
||||
mkdir -p $SW;
|
||||
curl https://download.calibre-ebook.com/travis/kitty/osx.tar.xz | tar xJ -C $SW;
|
||||
|
||||
2
setup.py
2
setup.py
@ -175,6 +175,8 @@ def init_env(debug=False, sanitize=False, native_optimizations=True, profile=Fal
|
||||
ldpaths = pylib + glew_libs + font_libs + glfw_ldflags + libpng + ['-lunistring']
|
||||
if not isosx:
|
||||
ldpaths += ['-lrt']
|
||||
if '-lz' not in ldpaths:
|
||||
ldpaths.append('-lz')
|
||||
|
||||
try:
|
||||
os.mkdir(build_dir)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user