summaryrefslogtreecommitdiff
path: root/src/cdgl.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdgl.mak')
-rw-r--r--src/cdgl.mak11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/cdgl.mak b/src/cdgl.mak
index 800955e..6f63fa7 100644
--- a/src/cdgl.mak
+++ b/src/cdgl.mak
@@ -7,14 +7,19 @@ SRC = drv/cdgl.c
INCLUDES = . sim ftgl freetype2
LIBS = ftgl
-ifeq ($(findstring Win, $(TEC_SYSNAME)), )
-# LIBS += iconv
-endif
USE_OPENGL = YES
USE_CD = YES
CD = ..
+ifneq ($(findstring Win, $(TEC_SYSNAME)), )
+ ifeq ($(findstring dll, $(TEC_UNAME)), )
+ DEFINES += FTGL_LIBRARY_STATIC
+ endif
+else
+# LIBS += iconv
+endif
+
ifneq ($(findstring AIX, $(TEC_UNAME)), )
DEFINES += NO_FONTCONFIG
endif