aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérôme Glisse2015-08-24 12:16:56 -0500
committerJérôme Glisse2015-08-24 12:16:56 -0500
commit51d72a619e8648544053c0c0f56a88eeef601cff (patch)
treebfdd5e679ac6c7a22202a2844867e4942de70d4c /Makefile.am
parentb556ea127e004b734b2a7bf8e67cdcf56312171d (diff)
downloadexternal-libdrm-51d72a619e8648544053c0c0f56a88eeef601cff.tar.gz
external-libdrm-51d72a619e8648544053c0c0f56a88eeef601cff.tar.xz
external-libdrm-51d72a619e8648544053c0c0f56a88eeef601cff.zip
drm: Add -lm to libdrm ldflags to fix build failure.
Last commit (b556ea127e004b734b2a7bf8e67cdcf56312171d) 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>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 55e39a56..cc8d88af 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -100,7 +100,7 @@ SUBDIRS = \
100 100
101libdrm_la_LTLIBRARIES = libdrm.la 101libdrm_la_LTLIBRARIES = libdrm.la
102libdrm_ladir = $(libdir) 102libdrm_ladir = $(libdir)
103libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined 103libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined -lm
104libdrm_la_LIBADD = @CLOCK_LIB@ 104libdrm_la_LIBADD = @CLOCK_LIB@
105 105
106libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm 106libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm