mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-04 01:46:42 +00:00
CONFIGURE: Fix raspberry pi cross-compilation
This commit is contained in:
parent
4f98a64670
commit
507280c2d1
2
configure
vendored
2
configure
vendored
@ -3183,6 +3183,7 @@ if test -n "$_host"; then
|
||||
_port_mk="backends/platform/dingux/dingux.mk"
|
||||
;;
|
||||
raspberrypi)
|
||||
_libcurlpath=$RPI_ROOT/usr/bin
|
||||
# This is needed because the official cross compiler doesn't have multiarch enabled
|
||||
# but Raspbian does.
|
||||
# Be careful as it's the linker (LDFLAGS) which must know about sysroot.
|
||||
@ -3193,6 +3194,7 @@ if test -n "$_host"; then
|
||||
append_var LDFLAGS "-Xlinker --rpath-link=$RPI_ROOT/lib/arm-linux-gnueabihf"
|
||||
append_var LDFLAGS "-Xlinker --rpath-link=$RPI_ROOT/opt/vc/lib"
|
||||
append_var LDFLAGS "-L$RPI_ROOT/opt/vc/lib"
|
||||
append_var CXXFLAGS "-isystem $RPI_ROOT/usr/include/arm-linux-gnueabihf"
|
||||
# This is so optional OpenGL ES includes are found.
|
||||
append_var CXXFLAGS "-I$RPI_ROOT/opt/vc/include"
|
||||
_savegame_timestamp=no
|
||||
|
Loading…
x
Reference in New Issue
Block a user