mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-21 15:00:27 +00:00
avisynth: Use RTLD_LOCAL instead of RTLD_GLOBAL
There shouldn't be any need to add the loaded libraries to the global symbol namespace. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
470c9db11f
commit
f2ad1495f2
@ -52,7 +52,7 @@
|
||||
#define AVISYNTH_LIB "libavxsynth.so"
|
||||
#endif
|
||||
|
||||
#define LoadLibrary(x) dlopen(x, RTLD_NOW | RTLD_GLOBAL)
|
||||
#define LoadLibrary(x) dlopen(x, RTLD_NOW | RTLD_LOCAL)
|
||||
#define GetProcAddress dlsym
|
||||
#define FreeLibrary dlclose
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user