summaryrefslogtreecommitdiff
path: root/v4l2-apps/libv4l/libv4lconvert/Makefile
diff options
context:
space:
mode:
authorhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-04-16 10:49:08 +0200
committerhans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain>2009-04-16 10:49:08 +0200
commit419bda948df875f0c02e25d005d8d20b58fc0931 (patch)
tree72e1142cf849464f9428f36b40509006c20ecae7 /v4l2-apps/libv4l/libv4lconvert/Makefile
parent279a5b30fa2545d54a582d9a8e4dd3e4beceac40 (diff)
downloadmediapointer-dvb-s2-419bda948df875f0c02e25d005d8d20b58fc0931.tar.gz
mediapointer-dvb-s2-419bda948df875f0c02e25d005d8d20b58fc0931.tar.bz2
libv4l: link libv4lcontrol against rt, not libv4l2
From: Hans de Goede <hdegoede@redhat.com> libv4l: link libv4lcontrol against rt, not libv4l2 Priority: normal Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'v4l2-apps/libv4l/libv4lconvert/Makefile')
-rw-r--r--v4l2-apps/libv4l/libv4lconvert/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/v4l2-apps/libv4l/libv4lconvert/Makefile b/v4l2-apps/libv4l/libv4lconvert/Makefile
index 64f6690d2..0e1d5e84e 100644
--- a/v4l2-apps/libv4l/libv4lconvert/Makefile
+++ b/v4l2-apps/libv4l/libv4lconvert/Makefile
@@ -3,6 +3,8 @@ override CPPFLAGS += -I../include -I../../../include -fvisibility=hidden
CFLAGS := -g -O1
CFLAGS += -Wall -Wno-unused -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes
+LIBS_libv4lconvert = -lrt
+
ifeq ($(LINKTYPE),static)
CONVERT_LIB = libv4lconvert.a
else
@@ -73,7 +75,7 @@ clean::
$(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
%.so:
- $(CC) -shared $(LDFLAGS) -Wl,-soname,$@.$(LIB_RELEASE) -o $@.$(LIB_RELEASE) $^
+ $(CC) -shared $(LDFLAGS) -Wl,-soname,$@.$(LIB_RELEASE) -o $@.$(LIB_RELEASE) $^ $(LIBS_$*)
ln -f -s $@.$(LIB_RELEASE) $@
%.a: