From c1084ebf878a13eecff0eb6125a15057f0ea7076 Mon Sep 17 00:00:00 2001 From: Christian Date: Sun, 17 Jan 2016 20:22:46 +0100 Subject: linking libboblight correctly --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a8607f9..8dbac4a 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,8 @@ PLUGIN = vdrboblight #VERSION = $(shell grep 'static const char \*VERSION *=' vdrboblight.h | awk '{ print $$6 }' | sed -e 's/[";]//g') VERSION := $(shell git describe --tags master) +LIBS += -lboblight + ### The directory environment: # Use package data if installed...otherwise assume we're under the VDR source directory: @@ -111,7 +113,7 @@ $(DEPFILE): Makefile ### Targets: $(SOFILE): $(OBJS) $(FFDECSA) - $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(DECSALIB) -o $@ + $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared $(OBJS) $(DECSALIB) $(LIBS) -o $@ install-lib: $(SOFILE) -- cgit v1.2.3