summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian <zerov83@gmail.com>2016-01-17 20:22:46 +0100
committerChristian <zerov83@gmail.com>2016-01-17 20:22:46 +0100
commitc1084ebf878a13eecff0eb6125a15057f0ea7076 (patch)
treeeeef550ae032b465bfc023d31132d2d626c1ef55 /Makefile
parent040d8d8becbb132bb4dbb0d2d1510175e8c2e080 (diff)
downloadvdr-plugin-boblight-c1084ebf878a13eecff0eb6125a15057f0ea7076.tar.gz
vdr-plugin-boblight-c1084ebf878a13eecff0eb6125a15057f0ea7076.tar.bz2
linking libboblight correctly0.0.7
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
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)