From: Holger Schemel Date: Sun, 11 Feb 2024 01:24:22 +0000 (+0100) Subject: added library dependency to glib-2.0 (should be removed again) X-Git-Tag: 4.4.0.0-test-1~401 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=c20ac97a090642df0346c19e5a6b4ceaf40b8921;p=rocksndiamonds.git added library dependency to glib-2.0 (should be removed again) --- 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 \