mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 15:11:09 +08:00
Fix dlopen(), dlclose() dlsym() calls in configure test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27287 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -3016,8 +3016,9 @@ fi
|
||||
|
||||
echocheck "dynamic loader"
|
||||
cat > $TMPC << EOF
|
||||
#include <stddef.h>
|
||||
#include <dlfcn.h>
|
||||
int main(void) { dlopen(0, 0); dlclose(0); dlsym(0, 0); return 0; }
|
||||
int main(void) { dlopen(NULL, 0); dlclose(NULL); dlsym(NULL, NULL); return 0; }
|
||||
EOF
|
||||
_dl=no
|
||||
for _ld_tmp in "" "-ldl" ; do
|
||||
|
||||
Reference in New Issue
Block a user