summaryrefslogtreecommitdiff
path: root/v4l2-apps/libv4l
diff options
context:
space:
mode:
authorhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-05-27 09:28:13 +0200
committerhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-05-27 09:28:13 +0200
commit3034758e42abc467926892a9c2d1c794e28cef1f (patch)
tree6a9cf1f6ff13e8b9c3a75e058232c10d05f2b6cc /v4l2-apps/libv4l
parent34c9ff27162488d95480bc8a7ea9b45de5f146ae (diff)
downloadmediapointer-dvb-s2-3034758e42abc467926892a9c2d1c794e28cef1f.tar.gz
mediapointer-dvb-s2-3034758e42abc467926892a9c2d1c794e28cef1f.tar.bz2
libv4l: Link libv4lconvert with -lm for powf
From: Gregor Jasny <gjasny@googlemail.com> libv4l: Link libv4lconvert with -lm for powf Priority: normal Signed-off-by: Gregor Jasny <gjasny@googlemail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'v4l2-apps/libv4l')
-rw-r--r--v4l2-apps/libv4l/ChangeLog4
-rw-r--r--v4l2-apps/libv4l/libv4lconvert/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/v4l2-apps/libv4l/ChangeLog b/v4l2-apps/libv4l/ChangeLog
index fb324f088..83fa29a70 100644
--- a/v4l2-apps/libv4l/ChangeLog
+++ b/v4l2-apps/libv4l/ChangeLog
@@ -1,3 +1,7 @@
+libv4l-0.6
+----------
+* Link libv4lconvert with -lm for powf by Gregor Jasny
+
libv4l-0.5.98
-------------
* Add software gamma correction
diff --git a/v4l2-apps/libv4l/libv4lconvert/Makefile b/v4l2-apps/libv4l/libv4lconvert/Makefile
index 7bc4993d6..a2726e0d0 100644
--- a/v4l2-apps/libv4l/libv4lconvert/Makefile
+++ b/v4l2-apps/libv4l/libv4lconvert/Makefile
@@ -3,7 +3,7 @@ override CPPFLAGS += -I../include -I../../../include -fvisibility=hidden
CFLAGS := -g -O1
CFLAGS += -Wall -Wno-unused -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
-LIBS_libv4lconvert = -lrt
+LIBS_libv4lconvert = -lrt -lm
ifeq ($(LINKTYPE),static)
CONVERT_LIB = libv4lconvert.a
@@ -47,7 +47,7 @@ libv4lconvert.pc:
@echo 'Description: v4l format conversion library' >> libv4lconvert.pc
@echo 'Version: '$(V4L2_LIB_VERSION) >> libv4lconvert.pc
@echo 'Libs: -L$${libdir} -lv4lconvert' >> libv4lconvert.pc
- @echo 'Libs.private: -lrt' >> libv4lconvert.pc
+ @echo 'Libs.private: -lrt -lm' >> libv4lconvert.pc
@echo 'Cflags: -I$${prefix}/include' >> libv4lconvert.pc
install: all