summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscuri <scuri>2010-12-10 17:35:22 +0000
committerscuri <scuri>2010-12-10 17:35:22 +0000
commit1a113acb45c6228039b0b1d40afceaa041ff8869 (patch)
treecffe34fb72619092fd3ffe3dc0773a9e201c477b
parente1a8654e5dd01b28c893a8688fed207dcb4e07e3 (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))