iup-stack/ftgl/without-lua-prefix-with-lin...

61 lines
1.6 KiB
Diff

diff --git a/tecmake.mak b/tecmake.mak
index 48991a4..42d7131 100755
--- a/tecmake.mak
+++ b/tecmake.mak
@@ -297,7 +297,7 @@ endif
ifdef GTK_DEFAULT
ifndef USE_GTK2
- ifneq ($(findstring Linux5, $(TEC_UNAME)), )
+ ifneq ($(findstring Linux5, $(subst Linux6,Linux5,$(TEC_UNAME))), )
USE_GTK3 = Yes
endif
ifneq ($(findstring Linux4, $(TEC_UNAME)), )
@@ -469,7 +469,7 @@ ifdef USE_LUA52
LIBLUA_SFX := 52
endif
ifdef USE_LUA53
- LIBLUA_SFX := 53
+# LIBLUA_SFX := 53
endif
ifdef USE_LUA54
LIBLUA_SFX := 54
@@ -877,8 +877,8 @@ ifdef USE_LUA52
endif
ifdef USE_LUA53
- LUA_SFX := 53
- LIBLUA_SFX := 53
+# LUA_SFX := 53
+# LIBLUA_SFX := 53
override USE_LUA = Yes
LUA := $(LUA53)
NO_LUALIB := Yes
@@ -1207,7 +1207,7 @@ ifdef USE_CD
ifneq ($(findstring Linux4, $(TEC_UNAME)), )
LIBS += fontconfig
endif
- ifneq ($(findstring Linux5, $(TEC_UNAME)), )
+ ifneq ($(findstring Linux5, $(subst Linux6,Linux5,$(TEC_UNAME))), )
LIBS += fontconfig
endif
ifneq ($(findstring cygw, $(TEC_UNAME)), )
@@ -1245,7 +1245,7 @@ ifdef USE_IM
endif
ifdef LINK_WEBKIT
- ifneq ($(findstring Linux5, $(TEC_UNAME)), )
+ ifneq ($(findstring Linux5, $(subst Linux6,Linux5,$(TEC_UNAME))), )
LIBS += webkit2gtk-4.0 gio-2.0
else
ifneq ($(findstring Linux4, $(TEC_UNAME)), )
@@ -1476,7 +1476,7 @@ ifdef USE_GTK
ifneq ($(findstring FreeBSD, $(TEC_UNAME)), )
STDINCS += /lib/X11R6/include/gtk-2.0
endif
- ifneq ($(findstring Linux5, $(TEC_UNAME)), )
+ ifneq ($(findstring Linux5, $(subst Linux6,Linux5,$(TEC_UNAME))), )
STDINCS += /usr/include/harfbuzz
endif
endif