summaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authororbea <[email protected]>2022-05-12 18:34:52 -0700
committerRobert Antoni Buj Gelonch <[email protected]>2022-08-04 11:42:17 +0200
commitcb9e62b6d101cb42cdcf3ec7617616e6c4a4bb35 (patch)
tree4eedcb0776c740cec4f557ef161de956fc038438 /backends
parentfc47f17a919e0320c1fa9aa24ab008540d9b2991 (diff)
downloadlibmatemixer-cb9e62b6d101cb42cdcf3ec7617616e6c4a4bb35.tar.bz2
libmatemixer-cb9e62b6d101cb42cdcf3ec7617616e6c4a4bb35.tar.xz
backends: Add missing dependencies
When building the backends with slibtool they will fail with undefined references to libmatemixer.la. This is because they use -no-undefined which slibtool explicitly supports while GNU libtool will silently ignore it. Gentoo Bug: https://bugs.gentoo.org/785232
Diffstat (limited to 'backends')
-rw-r--r--backends/alsa/Makefile.am1
-rw-r--r--backends/null/Makefile.am4
-rw-r--r--backends/oss/Makefile.am1
-rw-r--r--backends/pulse/Makefile.am1
4 files changed, 6 insertions, 1 deletions
diff --git a/backends/alsa/Makefile.am b/backends/alsa/Makefile.am
index 798ce8b..44990b5 100644
--- a/backends/alsa/Makefile.am
+++ b/backends/alsa/Makefile.am
@@ -43,6 +43,7 @@ libmatemixer_alsa_la_SOURCES = \
alsa-types.h
libmatemixer_alsa_la_LIBADD = \
+ $(top_builddir)/libmatemixer/libmatemixer.la \
$(GLIB_LIBS) \
$(UDEV_LIBS) \
$(ALSA_LIBS)
diff --git a/backends/null/Makefile.am b/backends/null/Makefile.am
index f0371a7..11d4b7f 100644
--- a/backends/null/Makefile.am
+++ b/backends/null/Makefile.am
@@ -18,7 +18,9 @@ libmatemixer_null_la_SOURCES = \
null-backend.c \
null-backend.h
-libmatemixer_null_la_LIBADD = $(GLIB_LIBS)
+libmatemixer_null_la_LIBADD = \
+ $(top_builddir)/libmatemixer/libmatemixer.la \
+ $(GLIB_LIBS)
libmatemixer_null_la_LDFLAGS = \
-avoid-version \
diff --git a/backends/oss/Makefile.am b/backends/oss/Makefile.am
index d9e1fa7..cc5735f 100644
--- a/backends/oss/Makefile.am
+++ b/backends/oss/Makefile.am
@@ -32,6 +32,7 @@ libmatemixer_oss_la_SOURCES = \
oss-types.h
libmatemixer_oss_la_LIBADD = \
+ $(top_builddir)/libmatemixer/libmatemixer.la \
$(GLIB_LIBS) \
$(OSS_LIBS)
diff --git a/backends/pulse/Makefile.am b/backends/pulse/Makefile.am
index b07cc7e..a079af1 100644
--- a/backends/pulse/Makefile.am
+++ b/backends/pulse/Makefile.am
@@ -62,6 +62,7 @@ libmatemixer_pulse_la_SOURCES = \
pulse-types.h
libmatemixer_pulse_la_LIBADD = \
+ $(top_builddir)/libmatemixer/libmatemixer.la \
$(GLIB_LIBS) \
$(PULSEAUDIO_LIBS)