summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscuri <scuri>2010-12-10 17:35:17 +0000
committerscuri <scuri>2010-12-10 17:35:17 +0000
commitc6d9a827f1b5228d983312c2b888932e02f4d1a8 (patch)
tree01dcf6ca863149b6a81c27d27936988236bf4841
parentb020c989cb775986d774a14ee4bc22bfe3d8d090 (diff)
*** empty log message ***
-rw-r--r--tecmake.mak10
1 files changed, 5 insertions, 5 deletions
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))