summaryrefslogtreecommitdiffstats
path: root/usb_stream
diff options
context:
space:
mode:
authorDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-21 01:54:21 +0100
committerDiego E. 'Flameeyes' Pettenò <flameeyes@gmail.com>2008-11-21 13:06:48 +0100
commitc7455879349af9e457836a574bddccdf1dbe4f9f (patch)
treecef0b30a4b9cf46b942071748a9c5bfd699afbb1 /usb_stream
parent2928400a9dc81a89131c9269864be6b9c550de7d (diff)
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 'usb_stream')
-rw-r--r--usb_stream/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb_stream/Makefile.am b/usb_stream/Makefile.am
index c57033f..50a98a0 100644
--- a/usb_stream/Makefile.am
+++ b/usb_stream/Makefile.am
@@ -3,7 +3,7 @@ asound_module_pcm_usb_stream_LTLIBRARIES = libasound_module_pcm_usb_stream.la
asound_module_pcm_usb_streamdir = @ALSA_PLUGIN_DIR@
AM_CFLAGS = -Wall -g @ALSA_CFLAGS@
-AM_LDFLAGS = -module -avoid-version -export-dynamic
+AM_LDFLAGS = -module -avoid-version -export-dynamic $(LDFLAGS_NOUNDEFINED)
libasound_module_pcm_usb_stream_la_SOURCES = pcm_usb_stream.c
libasound_module_pcm_usb_stream_la_LIBADD = @ALSA_LIBS@