drm: Add -lm to libdrm ldflags to fix build failure.
Last commit (b556ea127e
) introduced
use of log2 which require -lm flag for the linker on quite few
distribution. Just add that flag to fix build.
Signed-off-by: Jérôme Glisse <jglisse@redhat.com>
main
parent
b556ea127e
commit
51d72a619e
|
@ -100,7 +100,7 @@ SUBDIRS = \
|
|||
|
||||
libdrm_la_LTLIBRARIES = libdrm.la
|
||||
libdrm_ladir = $(libdir)
|
||||
libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined
|
||||
libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined -lm
|
||||
libdrm_la_LIBADD = @CLOCK_LIB@
|
||||
|
||||
libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm
|
||||
|
|
Loading…
Reference in New Issue