From b7b587a3d74f4ca48fae7b6b15d2c20f88c55738 Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 29 Oct 2010 19:53:57 +0000 Subject: *** empty log message *** --- src/config.mak | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'src/config.mak') diff --git a/src/config.mak b/src/config.mak index 467f4f5..2a37a2a 100644 --- a/src/config.mak +++ b/src/config.mak @@ -81,18 +81,22 @@ ifdef USE_GDK ifdef ADD_CAIRO SRC += cairo/cdcairoprn_unix.c endif - INCLUDES += /usr/include/gtk-unix-print-2.0 + INCLUDES += $(GTK_BASE)/include/gtk-unix-print-2.0 endif LIBS += freetype endif else -ifdef USE_X11 - SRC += $(SRCX11) $(SRCNULL) - LIBS = freetype -else - SRC += $(SRCWIN32) - LIBS = freetype6 -endif + ifdef USE_X11 + SRC += $(SRCX11) $(SRCNULL) + LIBS = freetype + else + SRC += $(SRCWIN32) + ifneq ($(findstring cygw, $(TEC_UNAME)), ) + LIBS = freetype-6 + else + LIBS = freetype6 + endif + endif endif ifneq ($(findstring dll, $(TEC_UNAME)), ) -- cgit v1.2.3