summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-08-24 18:21:51 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2015-08-24 18:24:24 +0100
commit1e66ee21ab143e345865a452e3a60ae9f0652aaf (patch)
tree14b167e3041721e7ec6df75a9a40f4db972233c8 /Makefile.am
parent51d72a619e8648544053c0c0f56a88eeef601cff (diff)
Move -lm link flag to LIBADD
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index cc8d88af..a7a0ccae 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -100,8 +100,8 @@ SUBDIRS = \
libdrm_la_LTLIBRARIES = libdrm.la
libdrm_ladir = $(libdir)
-libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined -lm
-libdrm_la_LIBADD = @CLOCK_LIB@
+libdrm_la_LDFLAGS = -version-number 2:4:0 -no-undefined
+libdrm_la_LIBADD = @CLOCK_LIB@ -lm
libdrm_la_CPPFLAGS = -I$(top_srcdir)/include/drm
AM_CFLAGS = \