fix: forgot to include half of the libraries.

This commit is contained in:
2026-01-25 12:46:04 +01:00
parent ab2253a0ee
commit 2f76a5cc49

View File

@@ -20,9 +20,9 @@ LDLIBS := $(LDLIBS) -lm
ifeq (,$(shell command -v pkg-config)) ifeq (,$(shell command -v pkg-config))
$(error Failed to locate pkg-config, please make sure it is installed or acessible through PATH.) $(error Failed to locate pkg-config, please make sure it is installed or acessible through PATH.)
else else
CPPFLAGS += $(shell pkg-config --cflags-only-I x11 xinerama) CPPFLAGS += $(shell pkg-config --cflags-only-I fontconfig freetype2 x11 xft xinerama)
LDFLAGS += $(shell pkg-config --libs-only-L x11 xinerama) LDFLAGS += $(shell pkg-config --libs-only-L fontconfig freetype2 x11 xft xinerama)
LDLIBS += $(shell pkg-config --libs-only-l x11 xinerama) LDLIBS += $(shell pkg-config --libs-only-l fontconfig freetype2 x11 xft xinerama)
endif endif
SRC := $(wildcard src/*.c) SRC := $(wildcard src/*.c)