aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-21 09:02:32 (GMT)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-23 17:57:10 (GMT)
commitee0f9c39ee3037741d86b0dc4e48db64a693236c (patch)
treebb9e893fb7e2d3040d91aa8c7086f9e8467abc8f
parent4ff0df77dc3de2cc17d6f201ab38750d8d1f2119 (diff)
Explicitly include libm
There are some routines inside camorama that require the library. Sometimes, it is not probed well, so explicitly add it.
-rw-r--r--src/Makefile.am2
-rw-r--r--src/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index d0e6733..bd8958a 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -37,7 +37,7 @@ camorama_SOURCES = \
filter.h \
$(BUILT_SOURCES)\
$(NULL)
-camorama_LDADD = $(PACKAGE_LIBS) -lv4l1
+camorama_LDADD = $(PACKAGE_LIBS) -lv4l1 -lm
DISTCLEANFILES=$(BUILT_SOURCES)
diff --git a/src/Makefile.in b/src/Makefile.in
index 1062f96..3121761 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -250,7 +250,7 @@ camorama_SOURCES = \
$(BUILT_SOURCES)\
$(NULL)
-camorama_LDADD = $(PACKAGE_LIBS) -lv4l1
+camorama_LDADD = $(PACKAGE_LIBS) -lv4l1 -lm
DISTCLEANFILES = $(BUILT_SOURCES)
all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-am

Privacy Policy