diff options
| author | louis <louis.braun@gmx.de> | 2015-04-04 14:31:18 +0200 |
|---|---|---|
| committer | louis <louis.braun@gmx.de> | 2015-04-04 14:31:18 +0200 |
| commit | e9f8d708cf3d9f765b2d4210b78f245aede19b53 (patch) | |
| tree | d214363529b9481a49dd3cb261517abc70f157d5 /libskindesignerapi | |
| parent | dc6425241494e6e51e7ee2002aa201b0cbeb515d (diff) | |
| download | vdr-plugin-skindesigner-e9f8d708cf3d9f765b2d4210b78f245aede19b53.tar.gz vdr-plugin-skindesigner-e9f8d708cf3d9f765b2d4210b78f245aede19b53.tar.bz2 | |
adapted Makefiles to work also in a LCLBLD environment
Diffstat (limited to 'libskindesignerapi')
| -rw-r--r-- | libskindesignerapi/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libskindesignerapi/Makefile b/libskindesignerapi/Makefile index c8c3a3d..fa1ce56 100644 --- a/libskindesignerapi/Makefile +++ b/libskindesignerapi/Makefile @@ -18,7 +18,8 @@ TMPDIR ?= /tmp ### The name of the distribution archive: ARCHIVE = $(LIBNAME)-$(VERSION) -CXXFLAGS = $(shell pkg-config --variable=cxxflags vdr) +PKGCFG = $(if $(VDRDIR),$(shell pkg-config --silence-errors --variable=$(1) $(VDRDIR)/vdr.pc),$(shell pkg-config --silence-errors --variable=$(1) vdr || pkg-config --variable=$(1) ../../../../vdr.pc)) +CXXFLAGS = $(call PKGCFG,cxxflags) LDFLAGS = -shared -Wl,-soname,$(SONAME) DEFINES += -DAPIVERSION=$(MAJOR) -DLIBVERSION=\"$(VERSION)\" |
