mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-29 02:22:20 +00:00
tinywl: allow specify pkg-config binary
This commit is contained in:
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…
Reference in New Issue
Block a user