mirror of
				https://github.com/jojo61/vdr-plugin-softhdcuvid.git
				synced 2025-03-01 10:39:28 +00: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:
		
							
								
								
									
										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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user