From 1a113acb45c6228039b0b1d40afceaa041ff8869 Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 10 Dec 2010 17:35:22 +0000 Subject: *** empty log message *** --- tecmake.mak | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tecmake.mak') diff --git a/tecmake.mak b/tecmake.mak index 006e1d6..3f8c0ab 100644 --- a/tecmake.mak +++ b/tecmake.mak @@ -947,8 +947,8 @@ endif ifdef USE_GTK ifdef USE_PKGCONFIG # get compile/link flags via pkg-config - EXTRAINCS += $(shell pkg-config --cflags gtk+-2.0 gdk-2.0) - LIBS += $(shell pkg-config --libs gtk+-2.0 gdk-2.0) + PKGINCS += $(shell pkg-config --cflags gtk+-2.0 gdk-2.0) + PKGLIBS += $(shell pkg-config --libs gtk+-2.0 gdk-2.0) GTK_BASE := $(shell pkg-config --variable=prefix gtk+-2.0) GTK := $(GTK_BASE) else @@ -1061,11 +1061,11 @@ endif # Definitions of private variables # Library flags for application and dynamic library linker -LFLAGS += $(LDIR) $(LIBS) +LFLAGS += $(LDIR) $(LIBS) $(PKGLIBS) # C compiler flags -CFLAGS = $(FLAGS) $(STDFLAGS) $(INCLUDES) $(STDINCS) $(EXTRAINCS) $(DEFINES) $(STDDEFS) +CFLAGS = $(FLAGS) $(STDFLAGS) $(INCLUDES) $(STDINCS) $(PKGINCS) $(EXTRAINCS) $(DEFINES) $(STDDEFS) # C++ compiler flags -CXXFLAGS = $(CPPFLAGS) $(STDFLAGS) $(INCLUDES) $(STDINCS) $(EXTRAINCS) $(DEFINES) $(STDDEFS) +CXXFLAGS = $(CPPFLAGS) $(STDFLAGS) $(INCLUDES) $(STDINCS) $(PKGINCS) $(EXTRAINCS) $(DEFINES) $(STDDEFS) # Sources with relative path SOURCES := $(addprefix $(SRCDIR)/, $(SRC)) -- cgit v1.2.3