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
Jérôme Glisse 2015-08-24 13:16:56 -04:00
parent b556ea127e
commit 51d72a619e
1 changed files with 1 additions and 1 deletions

View File

@ -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