mirror of
https://codeberg.org/dwl/dwl.git
synced 2026-04-07 08:21:07 -04:00
build: properly link against rt
This is especially relevant for cross-compilation, since dwl uses `clock_gettime`.
This commit is contained in:
parent
c6f96d5391
commit
fa987884eb
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -8,6 +8,7 @@ WAYLAND_SCANNER=$(shell pkg-config --variable=wayland_scanner wayland-scanner)
|
|||
PKGS = wlroots wayland-server xcb xkbcommon libinput
|
||||
CFLAGS += $(foreach p,$(PKGS),$(shell pkg-config --cflags $(p)))
|
||||
LDLIBS += $(foreach p,$(PKGS),$(shell pkg-config --libs $(p)))
|
||||
LDLIBS += -lrt
|
||||
|
||||
all: dwl
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue