From bdbcc524bf9bc0dd1728832b69d7ec327ecc66f3 Mon Sep 17 00:00:00 2001 From: punkrockguy318 Date: Mon, 11 Mar 2013 01:37:17 +0000 Subject: [PATCH] scons: don't compile minizip files whatsoever when SYSTEM_MINIZIP enabled --- src/utils/SConscript | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/utils/SConscript b/src/utils/SConscript index 6962ad61..87a33a00 100644 --- a/src/utils/SConscript +++ b/src/utils/SConscript @@ -1,5 +1,24 @@ import glob -source_list = glob.glob('*.cpp') +#source_list = glob.glob('*.cpp') +source_list = Split( +""" +ConvertUTF.c +xstring.cpp +crc32.cpp +endian.cpp +general.cpp +guid.cpp +md5.cpp +memory.cpp +""") + +Import('env') + +if env['SYSTEM_MINIZIP'] == 0: + source_list.append('unzip.cpp') + source_list.append('unzip.h') + source_list.append('ioapi.cpp') + source_list.append('ioapi.h') for x in range(len(source_list)): source_list[x] = 'utils/' + source_list[x]