tinywl: allow specify pkg-config binary

master
Leonardo Hernández Hernández 6 months ago committed by Simon Zeni
parent d92c238721
commit 09603cdb0b

@ -1,9 +1,10 @@
WAYLAND_PROTOCOLS=$(shell pkg-config --variable=pkgdatadir wayland-protocols) PKG_CONFIG?=pkg-config
WAYLAND_SCANNER=$(shell pkg-config --variable=wayland_scanner wayland-scanner) WAYLAND_PROTOCOLS=$(shell $(PKG_CONFIG) --variable=pkgdatadir wayland-protocols)
WAYLAND_SCANNER=$(shell $(PKG_CONFIG) --variable=wayland_scanner wayland-scanner)
PKGS="wlroots-0.18" wayland-server xkbcommon PKGS="wlroots-0.18" wayland-server xkbcommon
CFLAGS+=$(shell pkg-config --cflags $(PKGS)) CFLAGS+=$(shell $(PKG_CONFIG) --cflags $(PKGS))
LIBS=$(shell pkg-config --libs $(PKGS)) LIBS=$(shell $(PKG_CONFIG) --libs $(PKGS))
# wayland-scanner is a tool which generates C headers and rigging for Wayland # wayland-scanner is a tool which generates C headers and rigging for Wayland
# protocols, which are specified in XML. wlroots requires you to rig these up # protocols, which are specified in XML. wlroots requires you to rig these up

Loading…
Cancel
Save