summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-21 01:16:37 +0100
committerDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-21 13:04:26 +0100
commit0b92e53cf953159308d00670708d85c890efadc4 (patch)
treea97a5d5232f275ce21c765537e351055b4c40f6e /src
parentca133ff6a2ecdb34ab105e87cebf805cb5e799bb (diff)
downloadalsa-lib-0b92e53cf953159308d00670708d85c890efadc4.tar.gz
Check for --no-undefined linker flag and use it.
This adds extra safety that the built libraries will have all the correct dependencies linked in. Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 7d48b123..3204fe46 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -45,7 +45,7 @@ endif
SUBDIRS += compat conf
libasound_la_LIBADD += compat/libcompat.la @ALSA_DEPLIBS@
-libasound_la_LDFLAGS = -version-info $(COMPATNUM) $(VSYMS) $(SYMFUNCS)
+libasound_la_LDFLAGS = -version-info $(COMPATNUM) $(VSYMS) $(SYMFUNCS) $(LDFLAGS_NOUNDEFINED)
control/libcontrol.la:
$(MAKE) -C control libcontrol.la