Skip to content

Commit

Permalink
backends: Add missing dependencies
Browse files Browse the repository at this point in the history
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
  • Loading branch information
orbea authored and rbuj committed Aug 4, 2022
1 parent fc47f17 commit cb9e62b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions backends/alsa/Makefile.am
Expand Up @@ -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)
Expand Down
4 changes: 3 additions & 1 deletion backends/null/Makefile.am
Expand Up @@ -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 \
Expand Down
1 change: 1 addition & 0 deletions backends/oss/Makefile.am
Expand Up @@ -32,6 +32,7 @@ libmatemixer_oss_la_SOURCES = \
oss-types.h

libmatemixer_oss_la_LIBADD = \
$(top_builddir)/libmatemixer/libmatemixer.la \
$(GLIB_LIBS) \
$(OSS_LIBS)

Expand Down
1 change: 1 addition & 0 deletions backends/pulse/Makefile.am
Expand Up @@ -62,6 +62,7 @@ libmatemixer_pulse_la_SOURCES = \
pulse-types.h

libmatemixer_pulse_la_LIBADD = \
$(top_builddir)/libmatemixer/libmatemixer.la \
$(GLIB_LIBS) \
$(PULSEAUDIO_LIBS)

Expand Down

0 comments on commit cb9e62b

Please sign in to comment.