summaryrefslogtreecommitdiffstats
path: root/ext/lv2
diff options
context:
space:
mode:
Diffstat (limited to 'ext/lv2')
-rw-r--r--ext/lv2/Makefile.am10
-rw-r--r--ext/lv2/gstlv2.h2
2 files changed, 9 insertions, 3 deletions
diff --git a/ext/lv2/Makefile.am b/ext/lv2/Makefile.am
index f10c7acf..18fe6481 100644
--- a/ext/lv2/Makefile.am
+++ b/ext/lv2/Makefile.am
@@ -1,8 +1,14 @@
plugin_LTLIBRARIES = libgstlv2.la
libgstlv2_la_SOURCES = gstlv2.c
-libgstlv2_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CONTROLLER_CFLAGS) $(GST_CFLAGS) $(SLV2_CFLAGS)
-libgstlv2_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(LIBM) $(SLV2_LIBS) ../../gst-libs/gst/signalprocessor/libgstsignalprocessor.la
+libgstlv2_la_CFLAGS = \
+ -I$(top_builddir)/gst-libs \
+ $(GST_PLUGINS_BASE_CFLAGS) \
+ $(GST_CONTROLLER_CFLAGS) $(GST_CFLAGS) $(SLV2_CFLAGS)
+libgstlv2_la_LIBADD = \
+ $(top_builddir)/gst-libs/gst/signalprocessor/libgstsignalprocessor.la \
+ $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) \
+ $(LIBM) $(SLV2_LIBS)
libgstlv2_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstlv2_la_LIBTOOLFLAGS = --tag=disable-static
diff --git a/ext/lv2/gstlv2.h b/ext/lv2/gstlv2.h
index 9fac262a..836f1a0b 100644
--- a/ext/lv2/gstlv2.h
+++ b/ext/lv2/gstlv2.h
@@ -28,7 +28,7 @@
#include <gst/gst.h>
-#include "../../gst-libs/gst/signalprocessor/gstsignalprocessor.h"
+#include <gst/signalprocessor/gstsignalprocessor.h>
G_BEGIN_DECLS