updated linux build to 2.6
This commit is contained in:
parent
ba8b1760df
commit
d0ef18b489
17 changed files with 15 additions and 3 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
raylib/dynamic/libraylib.so.2.6.0
Normal file
BIN
raylib/dynamic/libraylib.so.2.6.0
Normal file
Binary file not shown.
|
@ -538,7 +538,7 @@ static void (*_cffi_call_python_org)(struct _cffi_externpy_s *, char *);
|
|||
/************************************************************/
|
||||
|
||||
|
||||
#include "../raylib.h" // the C header of the library, supplied by us here
|
||||
#include "../raylib.h" // the C header, installed in the system include dir we assume
|
||||
|
||||
|
||||
/************************************************************/
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
raylib/static/_raylib_cffi.cpython-38-x86_64-linux-gnu.so
Executable file
BIN
raylib/static/_raylib_cffi.cpython-38-x86_64-linux-gnu.so
Executable file
Binary file not shown.
|
@ -1,4 +1,5 @@
|
|||
# Linux build assumes raylib, GL, etc are all already installed as system libraries. We dont distribute them.
|
||||
# Raylib must be installed the compiled with: cmake -DWITH_PIC=ON -DSHARED=ON -DSTATIC=ON ..
|
||||
|
||||
from cffi import FFI
|
||||
import os
|
||||
|
@ -11,9 +12,9 @@ ffibuilder.cdef(open("../raylib_modified.h").read().replace('RLAPI ', ''))
|
|||
|
||||
ffibuilder.set_source("_raylib_cffi",
|
||||
"""
|
||||
#include "../raylib.h" // the C header, installed in the system include dir we assume
|
||||
#include "../raylib.h"
|
||||
""",
|
||||
extra_link_args=['../../linux_libs/core.o', '../../linux_libs/models.o', '../../linux_libs/raudio.o', '../../linux_libs/rglfw.o','../../linux_libs/shapes.o','../../linux_libs/text.o','../../linux_libs/textures.o','../../linux_libs/utils.o','-lm', '-lpthread', '-lGLU', '-lGL', '-lrt', '-lm', '-ldl', '-lX11', '-lpthread'],
|
||||
extra_link_args=['/usr/local/lib/libraylib.a','-lm', '-lpthread', '-lGLU', '-lGL', '-lrt', '-lm', '-ldl', '-lX11', '-lpthread'],
|
||||
libraries=['GL','m','pthread', 'dl', 'rt', 'X11']
|
||||
)
|
||||
|
||||
|
|
11
raylib/static/build_linux_multi.sh
Executable file
11
raylib/static/build_linux_multi.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
rm *linux-gnu.so
|
||||
pyenv global 3.8.1
|
||||
pip3 install cffi
|
||||
python build_linux.py
|
||||
pyenv global 3.7.6
|
||||
pip3 install cffi
|
||||
python build_linux.py
|
||||
pyenv global 3.6.10
|
||||
pip3 install cffi
|
||||
python build_linux.py
|
Reference in a new issue