add support for GCC's LTO

This commit is contained in:
Jaroslav Kysela 2019-04-09 12:44:14 +02:00
parent 0bfad420ef
commit 5366bdb4fb
7 changed files with 101 additions and 91 deletions

View file

@ -51,7 +51,7 @@ struct snd_dlsym_link *snd_dlsym_start = NULL;
* the alsa-lib library. In that case, \p name is set to \c NULL.
*/
#ifndef DOXYGEN
void *INTERNAL(snd_dlopen)(const char *name, int mode, char *errbuf, size_t errbuflen)
EXPORT_SYMBOL void *INTERNAL(snd_dlopen)(const char *name, int mode, char *errbuf, size_t errbuflen)
#else
void *snd_dlopen(const char *name, int mode, char *errbuf, size_t errbuflen)
#endif