diff --git a/gst/gl/Makefile.am b/gst/gl/Makefile.am index 6cb9dd10b6..1929e45e87 100644 --- a/gst/gl/Makefile.am +++ b/gst/gl/Makefile.am @@ -20,8 +20,8 @@ libgstglimagesink_la_SOURCES = \ gstglfilterexample.c \ gstglconvert.c libgstglimagesink_la_CFLAGS = $(GST_CFLAGS) $(X_CFLAGS) $(GST_BASE_CFLAGS) \ - $(GST_PLUGINS_BASE_CFLAGS) -libgstglimagesink_la_LIBADD = $(X_LIBS) $(XSHM_LIBS) -lGL \ + $(GST_PLUGINS_BASE_CFLAGS) $(GL_CFLAGS) +libgstglimagesink_la_LIBADD = $(GL_LIBS) \ $(GST_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \ $(GST_PLUGINS_BASE_LIBS) -lgstinterfaces-$(GST_MAJORMINOR) libgstglimagesink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)