summaryrefslogtreecommitdiff
path: root/src/cdluacontextplus5.mak
diff options
context:
space:
mode:
Diffstat (limited to 'src/cdluacontextplus5.mak')
-rw-r--r--src/cdluacontextplus5.mak10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/cdluacontextplus5.mak b/src/cdluacontextplus5.mak
index eee24f0..a94fae0 100644
--- a/src/cdluacontextplus5.mak
+++ b/src/cdluacontextplus5.mak
@@ -10,12 +10,16 @@ DEF_FILE = cdluacontextplus5.def
ifneq ($(findstring Win, $(TEC_SYSNAME)), )
CHECK_GDIPLUS = Yes
+ LIBS = cdcontextplus
else
- CHECK_XRENDER = Yes
+ ifdef GTK_DEFAULT
+ CHECK_GTK = Yes
+ else
+ CHECK_XRENDER = Yes
+ LIBS = cdcontextplus
+ endif
endif
-LIBS = cdcontextplus
-
ifdef USE_LUA52
LIBNAME := $(LIBNAME)52
else