Fix LIB_DIR_NAME handling (from broken nightlies)

This commit is contained in:
Robert Coup 2011-08-16 03:18:24 +00:00
parent 40df7f57c3
commit 93d65a6e36

View file

@ -960,7 +960,7 @@ if not preconfigured:
# previously a leading / was expected for LIB_DIR_NAME # previously a leading / was expected for LIB_DIR_NAME
# now strip it to ensure expected behavior # now strip it to ensure expected behavior
if env['LIB_DIR_NAME'].startswith(os.path.sep): if env['LIB_DIR_NAME'].startswith(os.path.sep):
env['LIB_DIR_NAME'] = strip_first(['LIB_DIR_NAME'],os.path.sep) env['LIB_DIR_NAME'] = strip_first(env['LIB_DIR_NAME'],os.path.sep)
# base install location # base install location
env['MAPNIK_LIB_BASE'] = os.path.join(env['PREFIX'],env['LIBDIR_SCHEMA']) env['MAPNIK_LIB_BASE'] = os.path.join(env['PREFIX'],env['LIBDIR_SCHEMA'])