mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-10 07:50:19 +00:00
add support for building a portable version
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#uncomment this to have an x64 build
|
||||
#X64 = YES
|
||||
#PORTABLE = YES
|
||||
#OPENSSL = YES
|
||||
IPV6 = YES
|
||||
|
||||
@@ -49,6 +50,10 @@ PYTHONOUTPUT = xcpython.dll
|
||||
TCLLIB = tcl86
|
||||
TCLOUTPUT = xctcl.dll
|
||||
|
||||
!ifdef PORTABLE
|
||||
CFLAGS = $(CFLAGS) -DPORTABLE_BUILD
|
||||
!endif
|
||||
|
||||
!ifdef IPV6
|
||||
CFLAGS = $(CFLAGS) -DUSE_IPV6
|
||||
LIBS = $(LIBS) ws2_32.lib
|
||||
|
||||
Reference in New Issue
Block a user