remove last reference to pre versioning [skip ci]

This commit is contained in:
Dane Springmeyer 2015-10-12 13:56:13 -07:00
parent a326cff744
commit e161253631

View file

@ -1692,10 +1692,10 @@ if not preconfigured:
# fetch the mapnik version header in order to set the # fetch the mapnik version header in order to set the
# ABI version used to build libmapnik.so on linux in src/build.py # ABI version used to build libmapnik.so on linux in src/build.py
abi = GetMapnikLibVersion() abi = GetMapnikLibVersion()
abi_no_pre = abi.replace('-pre','').split('.') abi_split = abi.split('.')
env['ABI_VERSION'] = abi_no_pre env['ABI_VERSION'] = abi_split
env['MAPNIK_VERSION_STRING'] = abi 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. # Common DEFINES.
env.Append(CPPDEFINES = '-D%s' % env['PLATFORM'].upper()) env.Append(CPPDEFINES = '-D%s' % env['PLATFORM'].upper())