build: Remove HAVE_DLOPEN

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Matt Turner
2017-10-01 23:20:55 -07:00
parent 8d02abd0fe
commit 74b5568978
4 changed files with 2 additions and 8 deletions

View File

@@ -264,7 +264,6 @@ if cc.has_function('dlopen')
else
dep_dl = cc.find_library('dl')
endif
pre_args += '-DHAVE_DLOPEN'
if not cc.has_function('dladdr', dependencies : dep_dl)
error('dl library doesn\'t have dladdr')