Fix build without X11.
[profile/ivi/gstreamer-vaapi.git] / pkgconfig / Makefile.am
index 2998e5d..dd1012a 100644 (file)
@@ -1,5 +1,7 @@
 pcfiles_in  = gstreamer-vaapi.pc.in
+if USE_X11
 pcfiles_in += gstreamer-vaapi-x11.pc.in
+endif
 if USE_GLX
 pcfiles_in += gstreamer-vaapi-glx.pc.in
 endif
@@ -8,9 +10,7 @@ pcfiles = $(pcfiles_in:%.pc.in=%-@GST_MAJORMINOR@.pc)
 
 all_pcfiles_in  = gstreamer-vaapi.pc.in
 all_pcfiles_in += gstreamer-vaapi-x11.pc.in
-if USE_GLX
 all_pcfiles_in += gstreamer-vaapi-glx.pc.in
-endif
 
 all_pcfiles = $(all_pcfiles_in:%.pc.in=%-@GST_MAJORMINOR@.pc)