From ffebf01d61817b26406a7aabbca63bec5e23d2c5 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 12 May 2006 14:43:26 +0200 Subject: [PATCH] Correction for fixing alsa-lib static build Added the missing _snd_module_pcm_* definitions for static alsa-lib. From: Hans-Christian Egtvedt --- src/pcm/pcm_extplug.c | 5 +++++ src/pcm/pcm_ioplug.c | 5 +++++ 2 files changed, 10 insertions(+) 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 */ -- 2.47.1