From 8b6b8880121452884e50487ed28ea7c20724a057 Mon Sep 17 00:00:00 2001 From: Jyri Sarha Date: Fri, 26 Nov 2010 18:38:27 +0200 Subject: [PATCH] build-sys: Link lirc libraries in right order Wrong order of libraries causes libtool to link primarily from lirc library location and not from $(libdir) location in install phase. This is a problem if you have an older version pulseaudio libs installed under same directory as liblirc and you are building a newer version with some other directory prefix. --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile.am b/src/Makefile.am index d3a44e4..fe99ee7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1601,7 +1601,7 @@ module_bonjour_publish_la_LIBADD = libpulsecore-@PA_MAJORMINOR@.la libpulsecommo module_lirc_la_SOURCES = modules/module-lirc.c module_lirc_la_LDFLAGS = $(MODULE_LDFLAGS) -module_lirc_la_LIBADD = $(AM_LIBADD) $(LIRC_LIBS) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la +module_lirc_la_LIBADD = $(AM_LIBADD) libpulsecore-@PA_MAJORMINOR@.la libpulsecommon-@PA_MAJORMINOR@.la libpulse.la $(LIRC_LIBS) module_lirc_la_CFLAGS = $(AM_CFLAGS) $(LIRC_CFLAGS) # Linux evdev -- 2.7.4