@@ -21,8 +21,7 @@ env.CBAddVariables(
2121 ('python_version' , 'Set python version' , '3' ),
2222 BoolVariable ('with_tpl' , 'Enable TPL' , True ),
2323 BoolVariable ('with_gui' , 'Enable graphical user interface' , True ),
24- BoolVariable ('wrap_glibc' , 'Enable GlibC function wrapping' ,
25- env ['PLATFORM' ] == 'posix' ),
24+ BoolVariable ('wrap_glibc' , 'Enable GlibC function wrapping' , False )
2625 )
2726conf = env .CBConfigure ()
2827
@@ -70,14 +69,12 @@ if not env.GetOption('clean'):
7069
7170 conf .CBConfig ('cbang' )
7271 env .CBDefine ('USING_CBANG' ) # Using CBANG macro namespace
73- for lib in 'mariadbclient snappy leveldb yaml re2 sqlite3' .split ():
72+ for lib in 'mariadbclient snappy leveldb yaml sqlite3' .split ():
7473 if lib in env ['LIBS' ]: env ['LIBS' ].remove (lib )
7574
7675 # Include path
7776 env .AppendUnique (CPPPATH = ['#/src' ])
7877
79- if env ['PLATFORM' ] != 'win32' : env .AppendUnique (CCFLAGS = ['-fPIC' ])
80-
8178 # Python
8279 have_python = conf .CBConfig ('python' , False )
8380
@@ -176,8 +173,8 @@ if env['with_tpl']:
176173
177174# DXFlib
178175if not have_dxflib :
179- libDXFlib = SConscript ('src/dxflib/SConscript' ,
180- variant_dir = 'build/dxflib' )
176+ libDXFlib = SConscript (
177+ 'src/dxflib/SConscript' , variant_dir = 'build/dxflib' )
181178 env .Append (LIBS = libDXFlib )
182179
183180
0 commit comments