Fix build on updated Pi-firmware.

This commit is contained in:
Themaister 2013-01-26 11:53:30 +00:00
parent 544bb079d7
commit 73e98ca78a
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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