diff options
Diffstat (limited to 'src/config.mak')
-rw-r--r-- | src/config.mak | 20 |
1 files changed, 12 insertions, 8 deletions
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)), ) |