From e161253631d13cf140eb14ba6de084aa71736a1e Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 12 Oct 2015 13:56:13 -0700 Subject: [PATCH] remove last reference to pre versioning [skip ci] --- SConstruct | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SConstruct b/SConstruct index e99ec3027..59faf048b 100644 --- a/SConstruct +++ b/SConstruct @@ -1692,10 +1692,10 @@ if not preconfigured: # fetch the mapnik version header in order to set the # ABI version used to build libmapnik.so on linux in src/build.py abi = GetMapnikLibVersion() - abi_no_pre = abi.replace('-pre','').split('.') - env['ABI_VERSION'] = abi_no_pre + abi_split = abi.split('.') + env['ABI_VERSION'] = abi_split env['MAPNIK_VERSION_STRING'] = abi - env['MAPNIK_VERSION'] = str(int(abi_no_pre[0])*100000+int(abi_no_pre[1])*100+int(abi_no_pre[2])) + env['MAPNIK_VERSION'] = str(int(abi_split[0])*100000+int(abi_split[1])*100+int(abi_split[2])) # Common DEFINES. env.Append(CPPDEFINES = '-D%s' % env['PLATFORM'].upper())