From 69bef005b5c5824de753e1e5ebf28a12260a632e Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 8 Jun 2015 03:07:16 -0400 Subject: [PATCH] Added LDFLAGS note to Raspberry Pi documentation (thanks, Michael!). --- docs/README-raspberrypi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README-raspberrypi.md b/docs/README-raspberrypi.md index fd6cdf829..e46d18a79 100644 --- a/docs/README-raspberrypi.md +++ b/docs/README-raspberrypi.md @@ -74,7 +74,7 @@ The final step is compiling SDL itself. export CC="/opt/rpi-tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc --sysroot=$SYSROOT -I$SYSROOT/opt/vc/include -I$SYSROOT/usr/include -I$SYSROOT/opt/vc/include/interface/vcos/pthreads -I$SYSROOT/opt/vc/include/interface/vmcs_host/linux" cd mkdir -p build;cd build - ../configure --with-sysroot=$SYSROOT --host=arm-raspberry-linux-gnueabihf --prefix=$PWD/rpi-sdl2-installed --disable-pulseaudio --disable-esd + LDFLAGS="-L$SYSROOT/opt/vc/lib" ../configure --with-sysroot=$SYSROOT --host=arm-raspberry-linux-gnueabihf --prefix=$PWD/rpi-sdl2-installed --disable-pulseaudio --disable-esd make make install