packages/libs/alsa-lib/patches/101-add-ldl-to-mixer-simple.patch
lars 453cc9ef5b Update alsa-lib and alsa-utils to 1.0.19
git-svn-id: svn://svn.openwrt.org/openwrt/packages@14169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-24 16:15:24 +00:00

29 lines
1.1 KiB
Diff

From: Takashi Iwai <tiwai@suse.de>
Date: Wed, 21 Jan 2009 08:29:35 +0000 (+0100)
Subject: Add missing -ldl to modules/mixer/simple/*
X-Git-Url: http://git.alsa-project.org/?p=alsa-lib.git;a=commitdiff_plain;h=3b728db20d1729f1270731006f44c20ab910bee0
Add missing -ldl to modules/mixer/simple/*
Signed-off-by: Takashi Iwai <tiwai@suse.de>
---
diff --git a/modules/mixer/simple/Makefile.am b/modules/mixer/simple/Makefile.am
index f73871f..bad0944 100644
--- a/modules/mixer/simple/Makefile.am
+++ b/modules/mixer/simple/Makefile.am
@@ -21,11 +21,11 @@ smixer_sbase_la_LIBADD = ../../../src/libasound.la
smixer_ac97_la_SOURCES = ac97.c sbasedl.c
smixer_ac97_la_LDFLAGS = -module -avoid-version $(LDFLAGS_NOUNDEFINED)
-smixer_ac97_la_LIBADD = ../../../src/libasound.la
+smixer_ac97_la_LIBADD = ../../../src/libasound.la -ldl
smixer_hda_la_SOURCES = hda.c sbasedl.c
smixer_hda_la_LDFLAGS = -module -avoid-version $(LDFLAGS_NOUNDEFINED)
-smixer_hda_la_LIBADD = ../../../src/libasound.la
+smixer_hda_la_LIBADD = ../../../src/libasound.la -ldl
if BUILD_PYTHON
smixer_python_la_SOURCES = python.c