diff --git a/Makefile b/Makefile index 344a4cb2d8..135aec60b7 100644 --- a/Makefile +++ b/Makefile @@ -222,7 +222,7 @@ ifeq ($(HAVE_VG), 1) endif ifeq ($(HAVE_VIDEOCORE), 1) - LIBS += -lbcm_host -lvcos -lvchiq_arm + LIBS += -lbcm_host -lvcos -lvchiq_arm -lEGL endif ifeq ($(HAVE_XVIDEO), 1) diff --git a/qb/config.libs.sh b/qb/config.libs.sh index 1d2edede2f..3a8adfaa37 100644 --- a/qb/config.libs.sh +++ b/qb/config.libs.sh @@ -26,6 +26,7 @@ check_lib VIDEOCORE -lbcm_host bcm_host_init "-lvcos -lvchiq_arm" if [ "$HAVE_VIDEOCORE" = 'yes' ]; then [ -d /opt/vc/include ] && add_include_dirs /opt/vc/include [ -d /opt/vc/include/interface/vcos/pthreads ] && add_include_dirs /opt/vc/include/interface/vcos/pthreads + [ -d /opt/vc/include/interface/vmcs_host/linux ] && add_include_dirs /opt/vc/include/interface/vmcs_host/linux HAVE_GLES='auto' EXTRA_GL_LIBS="-lGLESv2 -lbcm_host -lvcos -lvchiq_arm" fi