summaryrefslogtreecommitdiffstats
path: root/rate-lavc
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 /rate-lavc
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 'rate-lavc')
-rw-r--r--rate-lavc/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/rate-lavc/Makefile.am b/rate-lavc/Makefile.am
index 126cfcf..5cffd44 100644
--- a/rate-lavc/Makefile.am
+++ b/rate-lavc/Makefile.am
@@ -4,7 +4,7 @@ asound_module_rate_lavcratedir = @ALSA_PLUGIN_DIR@
AM_CFLAGS = -Wall -g @ALSA_CFLAGS@ @AVCODEC_CFLAGS@ \
-DAVCODEC_HEADER="@AVCODEC_HEADER@"
-AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined
+AM_LDFLAGS = -module -avoid-version -export-dynamic -no-undefined $(LDFLAGS_NOUNDEFINED)
libasound_module_rate_lavcrate_la_SOURCES = rate_lavcrate.c
libasound_module_rate_lavcrate_la_LIBADD = @ALSA_LIBS@ @AVCODEC_LIBS@