Remove RPI native build because it doesn't work on current Raspbian. Use standard Linux X11 when on RPI. Issue #55
This commit is contained in:
parent
4f907251fb
commit
2d78db0f32
1 changed files with 4 additions and 12 deletions
|
@ -150,16 +150,8 @@ def build_unix():
|
||||||
'CoreVideo']
|
'CoreVideo']
|
||||||
libraries = []
|
libraries = []
|
||||||
else: #platform.system() == "Linux":
|
else: #platform.system() == "Linux":
|
||||||
if "arm" in platform.machine():
|
|
||||||
print("BUILDING FOR RASPBERRY PI")
|
|
||||||
extra_link_args = [get_the_lib_path() + '/libraylib.a',
|
|
||||||
'/opt/vc/lib/libEGL_static.a', '/opt/vc/lib/libGLESv2_static.a',
|
|
||||||
'-L/opt/vc/lib', '-lvcos', '-lbcm_host', '-lbrcmEGL', '-lbrcmGLESv2',
|
|
||||||
'-lm', '-lpthread', '-lrt']
|
|
||||||
libraries = []
|
|
||||||
else: #"x86" in platform.machine():
|
|
||||||
print("BUILDING FOR LINUX")
|
print("BUILDING FOR LINUX")
|
||||||
extra_link_args = [get_the_lib_path() + '/libraylib.a', '-lm', '-lpthread', '-lGLU', '-lGL',
|
extra_link_args = [get_the_lib_path() + '/libraylib.a', '-lm', '-lpthread', '-lGL',
|
||||||
'-lrt', '-lm', '-ldl', '-lX11', '-lpthread']
|
'-lrt', '-lm', '-ldl', '-lX11', '-lpthread']
|
||||||
libraries = ['GL', 'm', 'pthread', 'dl', 'rt', 'X11']
|
libraries = ['GL', 'm', 'pthread', 'dl', 'rt', 'X11']
|
||||||
|
|
||||||
|
|
Reference in a new issue