From c20ac97a090642df0346c19e5a6b4ceaf40b8921 Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Sun, 11 Feb 2024 02:24:22 +0100 Subject: [PATCH] added library dependency to glib-2.0 (should be removed again) --- src/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/Makefile b/src/Makefile index 6674b5ae..a29e0919 100644 --- a/src/Makefile +++ b/src/Makefile @@ -156,6 +156,14 @@ endif CFLAGS = $(OPTIONS) $(ANALYZE) $(SYS_CFLAGS) $(EXTRA_CFLAGS) $(CONFIG) LDFLAGS = $(ANALYZE) $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) +# !!! DEPENDENCY TO GLIB SHOULD BE REMOVED AGAIN !!! +GLIB_CFLAGS := $(shell pkg-config --cflags glib-2.0) +GLIB_LDFLAGS := $(shell pkg-config --libs glib-2.0) + +CFLAGS := $(CFLAGS) $(GLIB_CFLAGS) +LDFLAGS := $(LDFLAGS) $(GLIB_LDFLAGS) +# !!! DEPENDENCY TO GLIB SHOULD BE REMOVED AGAIN !!! + SRCS = main.c \ conf_gfx.c \ -- 2.34.1