diff options
-rw-r--r-- | src/dlmisc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dlmisc.c b/src/dlmisc.c index 4b8a02cd..62f70471 100644 --- a/src/dlmisc.c +++ b/src/dlmisc.c @@ -177,11 +177,13 @@ void *snd_dlsym(void *handle, const char *name, const char *version) } #endif #ifdef HAVE_LIBDL +#ifdef VERSIONED_SYMBOLS if (version) { err = snd_dlsym_verify(handle, name, version); if (err < 0) return NULL; } +#endif return dlsym(handle, name); #else return NULL; |