Use proper build flags for atomisphal
authorJussi Saavalainen <jussi.saavalainen@ixonos.com>
Thu, 28 Jun 2012 06:26:39 +0000 (09:26 +0300)
committerJussi Saavalainen <jussi.saavalainen@ixonos.com>
Thu, 28 Jun 2012 06:26:39 +0000 (09:26 +0300)
We already pick the right Gst flags when configuring, so use those instead
of hardcoding paths. Fixes build in various multiarch situations.

gst-libs/atomisphal/Makefile.am

index 6b8a1bc..2eacd85 100644 (file)
@@ -15,12 +15,11 @@ libgstatomisphal_@GST_MAJORMINOR@include_HEADERS = mfld_cam.h  \
                                                sh_css_types.h \
                                                to_upstream.h
 
-libgstatomisphal_@GST_MAJORMINOR@_la_CFLAGS = -I/usr/include/glib-2.0 \
-                                       -I/usr/lib/glib-2.0/include \
+libgstatomisphal_@GST_MAJORMINOR@_la_CFLAGS = $(GST_CFLAGS)\
                                        -DSTDC99
 
-libgstatomisphal_@GST_MAJORMINOR@_la_LIBADD =-lglib-2.0
+libgstatomisphal_@GST_MAJORMINOR@_la_LIBADD = $(GST_LIBS)
 
-libgstatomisphal_@GST_MAJORMINOR@_la_LDFLAGS = -lglib-2.0
+libgstatomisphal_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LDFLAGS)
 
 noinst_HEADERS = mfld_driver.h