summaryrefslogtreecommitdiffstats
path: root/pulse
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 /pulse
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 'pulse')
-rw-r--r--pulse/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/pulse/Makefile.am b/pulse/Makefile.am
index 525a21c..e89e8ee 100644
--- a/pulse/Makefile.am
+++ b/pulse/Makefile.am
@@ -7,7 +7,7 @@ asound_module_ctldir = @ALSA_PLUGIN_DIR@
asound_module_confdir = @ALSA_PLUGIN_DIR@
AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ $(PTHREAD_CFLAGS) $(pulseaudio_CFLAGS) -D_GNU_SOURCE
-AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined
+AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined $(LDFLAGS_NOUNDEFINED)
libasound_module_pcm_pulse_la_SOURCES = pcm_pulse.c pulse.c pulse.h
libasound_module_pcm_pulse_la_LIBADD = @ALSA_LIBS@ $(PTHREAD_LIBS) $(pulseaudio_LIBS)