Thread (2 messages) flat view 2 messages, 2 authors, 2011-07-29
STALE5490d

[PATCH BlueZ] Fix setting noinst_LIBRARIES in Makefile.am

From: Anderson Lizardo <hidden>
Date: 2011-07-20 21:47:49
Subsystem: the rest · Maintainer: Linus Torvalds

When both audio and sap plugins are enabled, noinst_LIBRARIES is
incorrectly overwritten.
---
NOTE: Actually, I'm not sure if audio/libtelephony.a and sap/libsap.a are being
used at all. Any reason why they are generated? Makefile dependency resolution
perhaps?

 Makefile.am |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 52c49fb..1089406 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,6 +3,8 @@ AM_MAKEFLAGS = --no-print-directory
 
 lib_LTLIBRARIES =
 
+noinst_LIBRARIES =
+
 noinst_LTLIBRARIES =
 
 bin_PROGRAMS =
@@ -143,7 +145,7 @@ builtin_sources += audio/main.c \
 			audio/telephony.h audio/a2dp-codecs.h
 builtin_nodist += audio/telephony.c
 
-noinst_LIBRARIES = audio/libtelephony.a
+noinst_LIBRARIES += audio/libtelephony.a
 
 audio_libtelephony_a_SOURCES = audio/telephony.h audio/telephony-dummy.c \
 				audio/telephony-maemo5.c audio/telephony-ofono.c \
@@ -159,7 +161,7 @@ builtin_sources += sap/main.c \
 
 builtin_nodist += sap/sap.c
 
-noinst_LIBRARIES = sap/libsap.a
+noinst_LIBRARIES += sap/libsap.a
 
 sap_libsap_a_SOURCES = sap/sap.h sap/sap-dummy.c sap/sap-u8500.c
 endif
-- 
1.7.0.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help