summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2006-05-12 14:43:26 +0200
committerTakashi Iwai <tiwai@suse.de>2006-05-12 14:43:26 +0200
commitffebf01d61817b26406a7aabbca63bec5e23d2c5 (patch)
treecd25974254200f5e204b5a5c5573a06de9ef8ba4
parent308f52e65aa4df84bbb8fe51a00932f55be95b08 (diff)
downloadalsa-lib-ffebf01d61817b26406a7aabbca63bec5e23d2c5.tar.gz
Correction for fixing alsa-lib static build
Added the missing _snd_module_pcm_* definitions for static alsa-lib. From: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
-rw-r--r--src/pcm/pcm_extplug.c5
-rw-r--r--src/pcm/pcm_ioplug.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/src/pcm/pcm_extplug.c b/src/pcm/pcm_extplug.c
index ce19b19f..56510143 100644
--- a/src/pcm/pcm_extplug.c
+++ b/src/pcm/pcm_extplug.c
@@ -31,6 +31,11 @@
#include "pcm_extplug.h"
#include "pcm_ext_parm.h"
+#ifndef PIC
+/* entry for static linking */
+const char *_snd_module_pcm_extplug = "";
+#endif
+
#ifndef DOC_HIDDEN
typedef struct snd_pcm_extplug_priv {
diff --git a/src/pcm/pcm_ioplug.c b/src/pcm/pcm_ioplug.c
index 229d7933..ed8c5080 100644
--- a/src/pcm/pcm_ioplug.c
+++ b/src/pcm/pcm_ioplug.c
@@ -30,6 +30,11 @@
#include "pcm_ioplug.h"
#include "pcm_ext_parm.h"
+#ifndef PIC
+/* entry for static linking */
+const char *_snd_module_pcm_ioplug = "";
+#endif
+
#ifndef DOC_HIDDEN
/* hw_params */