mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
Query pkg-config for libplacebo library location
The location of libplacebo could vary between systems, as it's fast-changing library with very dynamic API. This could force having various versions on the system for different applications. Use pkg-config to provide location of targeted libplacebo version, by providing custom PKG_CONFIG_PATH environmet variable.
This commit is contained in:
parent
65017da5ac
commit
4e96489e35
2
Makefile
2
Makefile
@ -159,6 +159,7 @@ endif
|
||||
|
||||
ifeq ($(LIBPLACEBO_GL),1)
|
||||
CONFIG += -DPLACEBO_GL -DPLACEBO
|
||||
_CFLAGS += $(shell pkg-config --cflags libplacebo)
|
||||
LIBS += $(shell pkg-config --libs epoxy libplacebo)
|
||||
else
|
||||
LIBS += $(shell pkg-config --libs egl)
|
||||
@ -166,6 +167,7 @@ endif
|
||||
|
||||
ifeq ($(LIBPLACEBO),1)
|
||||
CONFIG += -DPLACEBO
|
||||
_CFLAGS += $(shell pkg-config --cflags libplacebo)
|
||||
LIBS += $(shell pkg-config --libs egl libplacebo)
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user