From: Gwenole Beauchesne Date: Fri, 22 Nov 2013 10:28:09 +0000 (+0100) Subject: build: fix for Wayland headers not in standard include dirs. X-Git-Tag: 0.5.7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e713d43379d9ca1d543bb37f6854f4ef7a03824b;p=platform%2Fupstream%2Fgstreamer-vaapi.git build: fix for Wayland headers not in standard include dirs. Fix build when Wayland headers don't live in plain system include dirs like /usr/include but rather in /usr/include/wayland for instance. Original patch written by Dominique Leuenberger https://bugzilla.gnome.org/show_bug.cgi?id=712282 --- diff --git a/gst/vaapi/Makefile.am b/gst/vaapi/Makefile.am index cb98993..99c2fac 100644 --- a/gst/vaapi/Makefile.am +++ b/gst/vaapi/Makefile.am @@ -25,6 +25,10 @@ libgstvaapi_LIBS += \ endif if USE_WAYLAND +libgstvaapi_CFLAGS += \ + $(WAYLAND_CFLAGS) \ + $(NULL) + libgstvaapi_LIBS += \ $(top_builddir)/gst-libs/gst/vaapi/libgstvaapi-wayland-$(GST_API_VERSION).la endif