use pkgconfig
This commit is contained in:
parent
8d6c2a2a4d
commit
266b37fc37
|
@ -65,8 +65,10 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(NETSURF_AMIGA_USE_CAIRO),YES)
|
ifeq ($(NETSURF_AMIGA_USE_CAIRO),YES)
|
||||||
CFLAGS += -DNS_AMIGA_CAIRO -I /SDK/local/common/include/cairo
|
CFLAGS += -DNS_AMIGA_CAIRO
|
||||||
LDFLAGS += -use-dynld -ldl -lcairo -lpixman-1 -lfreetype -lfontconfig -lpng -lexpat
|
CFLAGS += $(shell $(PKG_CONFIG) --cflags cairo)
|
||||||
|
LDFLAGS += -use-dynld
|
||||||
|
LDFLAGS += $(shell $(PKG_CONFIG) --libs cairo)
|
||||||
EXETARGET := NetSurf
|
EXETARGET := NetSurf
|
||||||
else
|
else
|
||||||
EXETARGET := NetSurf-Static
|
EXETARGET := NetSurf-Static
|
||||||
|
|
Loading…
Reference in New Issue