From cbcadc5fc857583158f3c61f5e2bc24b24c8690a Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 13 Jan 2015 03:32:24 +0200 Subject: [PATCH] try to fix r-pi build --- configure | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure b/configure index c02721f9..4ffa3a21 100755 --- a/configure +++ b/configure @@ -439,6 +439,9 @@ fi if [ -d /opt/vc/include -a -d /opt/vc/lib ]; then CFLAGS_GLES="$CFLAGS_GLES -I/opt/vc/include -I/opt/vc/include/interface/vcos/pthreads -I/opt/vc/include/interface/vmcs_host/linux" LDLIBS_GLES="$LDLIBS_GLES -L/opt/vc/lib" + if [ -f /opt/vc/lib/libbcm_host.so ]; then + LDLIBS_GLES="$LDLIBS_GLES -lbcm_host" + fi need_xlib="yes" fi -- 2.39.5