libmediaart: fix qt5 build

Use BR2_PACKAGE_QT5_VERSION_LATEST instead of BR2_QT5_VERSION_LATEST

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Fabrice Fontaine 2017-03-30 20:34:37 +02:00 committed by Thomas Petazzoni
parent c720701c4d
commit 7298d02ccc

View File

@ -22,7 +22,7 @@ LIBMEDIAART_CONF_OPTS += \
--disable-qt
else ifeq ($(BR2_PACKAGE_MEDIAART_BACKEND_QT),y)
# qt5 needs c++11 (since qt-5.7)
ifeq ($(BR2_QT5_VERSION_LATEST),y)
ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
LIBMEDIAART_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
endif
LIBMEDIAART_DEPENDENCIES += \