SDL2: add -rpath=/opt/vc/lib on rpi archs
This commit is contained in:
parent
98841e67aa
commit
a4bd8c61df
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'SDL2'
|
||||
pkgname=SDL2
|
||||
version=2.0.6
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-alsa --disable-esd --disable-rpath --enable-libudev
|
||||
--enable-clock_gettime --disable-nas --disable-arts --disable-x11-shared
|
||||
|
@ -35,7 +35,7 @@ if [ "$build_option_gles" ]; then
|
|||
# RaspberryPi, use Videocore IV
|
||||
makedepends+=" rpi-userland-devel"
|
||||
CFLAGS="-I${XBPS_CROSS_BASE}/opt/vc/include -I${XBPS_CROSS_BASE}/opt/vc/include/interface/vcos/pthreads"
|
||||
LDFLAGS="-L${XBPS_CROSS_BASE}/opt/vc/lib"
|
||||
LDFLAGS="-L${XBPS_CROSS_BASE}/opt/vc/lib -Wl,-rpath=/opt/vc/lib"
|
||||
;;
|
||||
*)
|
||||
# libGLESv2.so.2 is dynamically loaded with dlopen.
|
||||
|
|
Loading…
Reference in New Issue