diff options
author | scuri <scuri> | 2010-10-29 19:53:57 +0000 |
---|---|---|
committer | scuri <scuri> | 2010-10-29 19:53:57 +0000 |
commit | b7b587a3d74f4ca48fae7b6b15d2c20f88c55738 (patch) | |
tree | 91939c9a8b395e5d158b22e1121a8f9696c07e2a /src/config.mak | |
parent | 0ad7222139515af5a859ce682ba02715a7350c6e (diff) |
*** empty log message ***
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)), ) |