qtsink: Add configured GL cflags to the build
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 16 Dec 2015 00:28:05 +0000 (19:28 -0500)
committerNicolas Dufresne <nicolas.dufresne@collabora.com>
Wed, 16 Dec 2015 00:28:22 +0000 (19:28 -0500)
We don't directly link to GL in the element, though we use GL headers.
For this reason we need to include the proper GL headers path. This
prevent this element from using a different GL header then libgstgl.

ext/qt/Makefile.am

index 064e8d1..5fdd90a 100644 (file)
@@ -29,7 +29,8 @@ libgstqtsink_la_CXXFLAGS = \
        $(GST_CXXFLAGS) \
        $(GST_BASE_CFLAGS) \
        $(GST_PLUGINS_BASE_CFLAGS) \
-       $(QT_CFLAGS)
+       $(QT_CFLAGS) \
+       $(GL_CFLAGS)
 
 libgstqtsink_la_LIBADD = \
        $(GST_BASE_LIBS) \