From 37712e08b0d810aeb90a77c271f20fb943acc769 Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Mon, 27 Feb 2017 22:22:05 -0500 Subject: [PATCH] wmappkill: Use pkg-config for glib build flags. --- wmappkill/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/wmappkill/Makefile b/wmappkill/Makefile index 8b18e03..12a2bf0 100644 --- a/wmappkill/Makefile +++ b/wmappkill/Makefile @@ -1,5 +1,6 @@ -GTOP_LIBS = -lgtop -lgtop_sysdeps -lgtop_common -lXau -GCCOPTS = -O2 -Wall -g +GTOP_LIBS = -lgtop-2.0 `pkg-config glib-2.0 --libs` +GCCOPTS = -O2 -Wall -g -I/usr/include/libgtop-2.0 \ + `pkg-config glib-2.0 --cflags` CFLAGS= -Wall LDLIBS = -lX11 -lXpm -lXext LDFLAGS= -L/usr/X/lib -L/usr/X11R6/lib -L/usr/X11/lib -L/usr/local/lib/X11