diff options
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | Makefile | 9 |
2 files changed, 10 insertions, 1 deletions
@@ -93,5 +93,7 @@ Head: - adapted to changes in VDR 1.7.11 regarding character set conversion. - implemented cStatus::SetAudioChannel and SetAudioTrack to display audio track information on lcd. +- adapted Makefile for VDR >= 1.7.13 +
\ No newline at end of file @@ -18,7 +18,14 @@ VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ pri ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -fPIC -g -O2 -Wall -Woverloaded-virtual +CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual + +### Make sure that necessary options are included: +ifeq ($(strip $(wildcard $(VDRDIR)/Make.global)),) + CXXFLAGS += -fPIC +else + include $(VDRDIR)/Make.global +endif ### The directory environment: |