mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
Fix build of static library
- Add missing pcm_empty entry - Return the array pointer instead of the first array member. Otherwise only the first entry is linked to the binary.
This commit is contained in:
parent
03389a444b
commit
c9610c024d
6 changed files with 7 additions and 6 deletions
|
|
@ -28,7 +28,7 @@ static const char **snd_hwdep_open_objects[] = {
|
|||
|
||||
void *snd_hwdep_open_symbols(void)
|
||||
{
|
||||
return (void *)snd_hwdep_open_objects[0];
|
||||
return snd_hwdep_open_objects;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue