make: Add -lpthread -lutil

As reported. Somehow not needed on debian...

Signed-off-by: Michel Pollet <buserror@gmail.com>
This commit is contained in:
Michel Pollet 2023-10-25 18:58:10 +01:00
parent f17080a8f7
commit 14c7175236
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ CPPFLAGS += -Ilibmish/src
CFLAGS += --std=gnu99 -Wall -Wextra -O2 -g
CFLAGS += -Wno-unused-parameter -Wno-unused-function
LDLIBS += -lX11 -lm -lGL -lGLU
LDLIBS += -lpthread -lutil
HAS_ALSA := $(shell pkg-config --exists alsa && echo 1)
ifeq ($(HAS_ALSA),1)