From: Tanu Kaskinen Date: Mon, 6 Aug 2012 12:07:57 +0000 (+0300) Subject: build-sys: Link utf8-test to libpulsecommon. X-Git-Tag: v2.99.1~166 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9887cd0a288f6af12b0c53e0b4f3d7fcd3511c71;p=platform%2Fupstream%2Fpulseaudio.git build-sys: Link utf8-test to libpulsecommon. Fixes this: /usr/bin/ld: utf8_test-utf8-test.o: undefined reference to symbol 'pa_log_set_level' /usr/bin/ld: note: 'pa_log_set_level' is defined in DSO /home/takaskin/dev/pulseaudio/src/.libs/libpulsecommon-2.98.so so try adding it to the linker command line /home/takaskin/dev/pulseaudio/src/.libs/libpulsecommon-2.98.so: could not read symbols: Invalid operation --- diff --git a/src/Makefile.am b/src/Makefile.am index 7f947bd..faebe2a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -321,7 +321,7 @@ thread_mainloop_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) utf8_test_SOURCES = tests/utf8-test.c utf8_test_CFLAGS = $(AM_CFLAGS) $(LIBCHECK_CFLAGS) -utf8_test_LDADD = $(AM_LDADD) libpulse.la +utf8_test_LDADD = $(AM_LDADD) libpulse.la libpulsecommon-@PA_MAJORMINOR@.la utf8_test_LDFLAGS = $(AM_LDFLAGS) $(BINLDFLAGS) $(LIBCHECK_LIBS) format_test_SOURCES = tests/format-test.c