mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-20 16:20:11 +01:00
Remove libm in libdrm dependencies
Signed-off-by: Nicolas Caramelli <caramelli.devel@gmail.com>
This commit is contained in:
parent
70c4f836cc
commit
7f20912b1b
2 changed files with 1 additions and 3 deletions
|
|
@ -154,7 +154,6 @@ if not cc.has_function('clock_gettime', prefix : '#define _GNU_SOURCE\n#include
|
|||
else
|
||||
dep_rt = []
|
||||
endif
|
||||
dep_m = cc.find_library('m', required : false)
|
||||
|
||||
# The header is not required on Linux, and is in fact deprecated in glibc 2.30+
|
||||
if ['linux'].contains(host_machine.system())
|
||||
|
|
@ -258,7 +257,7 @@ libdrm = library(
|
|||
'drm',
|
||||
libdrm_files,
|
||||
c_args : libdrm_c_args,
|
||||
dependencies : [dep_valgrind, dep_rt, dep_m],
|
||||
dependencies : [dep_valgrind, dep_rt],
|
||||
include_directories : inc_drm,
|
||||
install : true,
|
||||
kwargs : libdrm_kw,
|
||||
|
|
|
|||
|
|
@ -60,7 +60,6 @@
|
|||
#if HAVE_SYS_SYSCTL_H
|
||||
#include <sys/sysctl.h>
|
||||
#endif
|
||||
#include <math.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#if defined(__FreeBSD__)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue