From 5c4b04615db8a143d6fb3207890d860c82e98564 Mon Sep 17 00:00:00 2001
From: deepend-tildeclub <58404188+deepend-tildeclub@users.noreply.github.com>
Date: Sat, 14 Feb 2026 22:27:30 -0700
Subject: [PATCH] Update OwnFlags and add Lua and Python conditions
---
win32/zoitechat.props | 43 +++++++++++++++++++++++++++++++++++++++----
1 file changed, 39 insertions(+), 4 deletions(-)
diff --git a/win32/zoitechat.props b/win32/zoitechat.props
index 84ad7391..45abd67a 100644
--- a/win32/zoitechat.props
+++ b/win32/zoitechat.props
@@ -14,7 +14,7 @@
- GTK_DISABLE_DEPRECATED;GDK_PIXBUF_DISABLE_DEPRECATED;G_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES;HAVE_X509_GET_SIGNATURE_NID;HAVE_SSL_CTX_GET_SSL_METHOD;DEFAULT_CERT_FILE="cert.pem";HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline
+ GTK_DISABLE_DEPRECATED;GDK_PIXBUF_DISABLE_DEPRECATED;G_DISABLE_SINGLE_INCLUDES;GDK_PIXBUF_DISABLE_SINGLE_INCLUDES;GTK_DISABLE_SINGLE_INCLUDES;HAVE_X509_GET_SIGNATURE_NID;HAVE_SSL_CTX_GET_SSL_METHOD;DEFAULT_CERT_FILE="cert.pem";HAVE_STRTOULL;strtoull=_strtoui64;strcasecmp=stricmp;strncasecmp=strnicmp;__inline__=__inline;$(GtkDefines)
$(YourDepsPath)\$(PlatformName)\release
$(YourGendefPath)
@@ -24,9 +24,44 @@
$(YourPython3Path)\$(PlatformName)
python314
hcpython3
- $(DepsRoot)\include\luajit-2.1
- hclua
- lua51
+ true
+ false
+ true
+ false
+ true
+ false
+ $(DepsRoot)\include\luajit-2.1
+ $(DepsRoot)\include\luajit
+ $(DepsRoot)\include\lua5.1
+ $(DepsRoot)\include\lua51
+ hclua
+ lua51
+ luajit-5.1
+ luajit
+ true
+ lua51.dll
+ luajit-5.1.dll
+ luajit.dll
+ $(DepsRoot)\share\lua\2.1
+ $(DepsRoot)\share\lua\5.1
+ $(DepsRoot)\lib\lua\2.1
+ $(DepsRoot)\lib\lua\5.1
+ false
+ "$(DepsRoot)\bin\glib-genmarshal.exe"
+ "$(Python3Path)\python.exe" "$(DepsRoot)\bin\glib-genmarshal"
+ $(DepsRoot)\include\glib-2.0;$(DepsRoot)\lib\glib-2.0\include;$(DepsRoot)\include\libxml2
+ true
+ HAVE_GTK3
+ $(DepsRoot)\include\gtk-3.0;$(DepsRoot)\lib\gtk-3.0\include
+ $(DepsRoot)\include\atk-1.0;$(DepsRoot)\include\cairo;$(DepsRoot)\include\pango-1.0;$(DepsRoot)\include\gdk-pixbuf-2.0;$(DepsRoot)\include\harfbuzz
+ $(Gtk3);$(GtkCommon)
+ ssleay32.lib
+ libeay32.lib
+ libssl.lib
+ libcrypto.lib
+ $(SslModernLib);$(CryptoModernLib)
+ $(SslLegacyLib);$(CryptoLegacyLib)
+ $(DepsRoot)\include
gtk-3.lib
gtk-3.0.lib