Merge Raspberry Pi config changes from @gepatto
This commit is contained in:
@@ -180,6 +180,15 @@
|
|||||||
|
|
||||||
</section>
|
</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="-DLIME_SDL" />
|
||||||
<compilerflag value="-DNATIVE_TOOLKIT_SDL_ANGLE" if="NATIVE_TOOLKIT_SDL_ANGLE" />
|
<compilerflag value="-DNATIVE_TOOLKIT_SDL_ANGLE" if="NATIVE_TOOLKIT_SDL_ANGLE" />
|
||||||
<compilerflag value="-D__IPHONEOS__" if="ios || tvos" />
|
<compilerflag value="-D__IPHONEOS__" if="ios || tvos" />
|
||||||
@@ -362,7 +371,7 @@
|
|||||||
<section if="android">
|
<section if="android">
|
||||||
|
|
||||||
<lib name="-L../ndll/Android" />
|
<lib name="-L../ndll/Android" />
|
||||||
<!-- <lib name="-Wl,--undefined=Java_org_libsdl_app_SDLActivity_nativeInit" if="LIME_SDL"/> -->
|
|
||||||
<lib name="-ldl" />
|
<lib name="-ldl" />
|
||||||
<lib name="-llog" />
|
<lib name="-llog" />
|
||||||
<lib name="-landroid" />
|
<lib name="-landroid" />
|
||||||
@@ -375,11 +384,12 @@
|
|||||||
|
|
||||||
<section if="rpi">
|
<section if="rpi">
|
||||||
|
|
||||||
<!-- <lib name="-lbcm_host" /> -->
|
<lib name="-lbcm_host" />
|
||||||
<lib name="-ldl" />
|
<lib name="-ldl" />
|
||||||
<lib name="-lm" />
|
<lib name="-lm" />
|
||||||
<lib name="-lGLESv2" />
|
<lib name="-lGLESv2" />
|
||||||
<lib name="-lEGL" />
|
<lib name="-lEGL" />
|
||||||
|
<lib name="-L/opt/vc/lib" />
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user