Merge Raspberry Pi config changes from @gepatto
This commit is contained in:
@@ -179,6 +179,15 @@
|
||||
<compilerflag value="-DHAVE_LIBC" />
|
||||
|
||||
</section>
|
||||
|
||||
<section if="rpi">
|
||||
<compilerflag value="-I/opt/vc/include"/>
|
||||
<compilerflag value="-I/opt/vc/include/interface/vcos/pthreads"/>
|
||||
<compilerflag value="-I/opt/vc/include/interface/vmcs_host/linux"/>
|
||||
<compilerflag value="-lGLESv2" />
|
||||
<compilerflag value="-lEGL" />
|
||||
<compilerflag value="-Wl,--no-undefined -lm -L/opt/vc/lib -lbcm_host -ldl -lpthread -lrt" />
|
||||
</section>
|
||||
|
||||
<compilerflag value="-DLIME_SDL" />
|
||||
<compilerflag value="-DNATIVE_TOOLKIT_SDL_ANGLE" if="NATIVE_TOOLKIT_SDL_ANGLE" />
|
||||
@@ -362,7 +371,7 @@
|
||||
<section if="android">
|
||||
|
||||
<lib name="-L../ndll/Android" />
|
||||
<!-- <lib name="-Wl,--undefined=Java_org_libsdl_app_SDLActivity_nativeInit" if="LIME_SDL"/> -->
|
||||
|
||||
<lib name="-ldl" />
|
||||
<lib name="-llog" />
|
||||
<lib name="-landroid" />
|
||||
@@ -375,11 +384,12 @@
|
||||
|
||||
<section if="rpi">
|
||||
|
||||
<!-- <lib name="-lbcm_host" /> -->
|
||||
<lib name="-lbcm_host" />
|
||||
<lib name="-ldl" />
|
||||
<lib name="-lm" />
|
||||
<lib name="-lGLESv2" />
|
||||
<lib name="-lEGL" />
|
||||
<lib name="-L/opt/vc/lib" />
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user