Added LDFLAGS note to Raspberry Pi documentation (thanks, Michael!).
authorRyan C. Gordon <icculus@icculus.org>
Mon, 08 Jun 2015 03:07:16 -0400
changeset 9722696d7571abcd
parent 9721 957a6ed39ad0
child 9723 ee2796e4e730
Added LDFLAGS note to Raspberry Pi documentation (thanks, Michael!).
docs/README-raspberrypi.md
     1.1 --- a/docs/README-raspberrypi.md	Mon Jun 08 02:58:46 2015 -0400
     1.2 +++ b/docs/README-raspberrypi.md	Mon Jun 08 03:07:16 2015 -0400
     1.3 @@ -74,7 +74,7 @@
     1.4      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"
     1.5      cd <SDL SOURCE>
     1.6      mkdir -p build;cd build
     1.7 -    ../configure --with-sysroot=$SYSROOT --host=arm-raspberry-linux-gnueabihf --prefix=$PWD/rpi-sdl2-installed --disable-pulseaudio --disable-esd
     1.8 +    LDFLAGS="-L$SYSROOT/opt/vc/lib" ../configure --with-sysroot=$SYSROOT --host=arm-raspberry-linux-gnueabihf --prefix=$PWD/rpi-sdl2-installed --disable-pulseaudio --disable-esd
     1.9      make
    1.10      make install
    1.11