x11-terms/yeahconsole: fix PKG_CONFIG default value

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2023-02-19 23:32:00 +01:00
parent 0323b85f0f
commit c346c680bc

View File

@@ -20,7 +20,7 @@
-$(TARGET): $(OBJECTS)
- $(CC) $(DEFINES) $(INCLUDES) $(LIB_DIRS) $(LIBS) -o $@ $<
- strip $@
+PKG_CONFIG ?= lol
+PKG_CONFIG ?= pkg-config
+CFLAGS += -Wall
+CPPFLAGS += $(shell $(PKG_CONFIG) --cflags x11)
+LDLIBS += $(shell $(PKG_CONFIG) --libs x11)