raspi: use egl packages if available

This commit is contained in:
Stefan Seyfried
2013-11-03 13:30:51 +01:00
parent ecab8ca7c0
commit 32d83d32c5
2 changed files with 10 additions and 4 deletions

View File

@@ -3,9 +3,7 @@ noinst_LTLIBRARIES = libraspi.la
AM_CPPFLAGS = -D__STDC_FORMAT_MACROS -D__STDC_CONSTANT_MACROS
AM_CPPFLAGS += -DUSE_VCHIQ_ARM -DOMX -DOMX_SKIP64BIT -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST
AM_CPPFLAGS += \
-I/opt/vc/include \
-I/opt/vc/include/interface/vcos/pthreads/ \
-I/opt/vc/include/interface/vmcs_host/linux \
@EGL_CFLAGS@ \
-I$(top_srcdir)/include \
-I$(top_srcdir)/common
@@ -15,7 +13,7 @@ AM_LDFLAGS = \
@AVFORMAT_LIBS@ \
@AVUTIL_LIBS@ \
@AVCODEC_LIBS@ \
-L/opt/vc/lib/ -lopenmaxil -lbcm_host -lvcos -lvchiq_arm -lpthread -lrt \
@EGL_LIBS@ \
-lOpenThreads
libraspi_la_SOURCES = \