From 132ec5d2012330864fec83d09dac42bbab1973ac Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 13 Aug 2009 01:43:46 +0000 Subject: Using simple variables to hold pkg-config info so not run for every compile. --- gtk/makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gtk/makefile') diff --git a/gtk/makefile b/gtk/makefile index 8d01390d8..6fa7c8042 100644 --- a/gtk/makefile +++ b/gtk/makefile @@ -40,17 +40,17 @@ endif # If explicit setting of GTK1 or GTK2 then use that else look for # pkg-config which is an OK indication that GTK2 is available ifdef GTK2 -CONFIGFLAGS=$(shell pkg-config --cflags gtk+-2.0) +CONFIGFLAGS:=$(shell pkg-config --cflags gtk+-2.0) MARSHALLER=scintilla-marshal.o else ifdef GTK1 -CONFIGFLAGS=$(shell gtk-config --cflags) +CONFIGFLAGS:=$(shell gtk-config --cflags) else ifneq (,$(findstring /,$(shell whereis pkg-config))) -CONFIGFLAGS=$(shell pkg-config --cflags gtk+-2.0) +CONFIGFLAGS:=$(shell pkg-config --cflags gtk+-2.0) MARSHALLER=scintilla-marshal.o else -CONFIGFLAGS=$(shell gtk-config --cflags) +CONFIGFLAGS:=$(shell gtk-config --cflags) endif endif endif -- cgit v1.2.3