ensure we rebuild libmapnik if agg sources change

This commit is contained in:
Dane Springmeyer 2012-10-01 18:22:12 -07:00
parent 7866cc3dec
commit 1468133bc0

View file

@ -339,6 +339,8 @@ else:
env['LIBMAPNIK_LIBS'] = copy(lib_env['LIBS']) env['LIBMAPNIK_LIBS'] = copy(lib_env['LIBS'])
env['LIBMAPNIK_CXXFLAGS'] = libmapnik_cxxflags env['LIBMAPNIK_CXXFLAGS'] = libmapnik_cxxflags
mapnik = None
if env['PLATFORM'] == 'Darwin': if env['PLATFORM'] == 'Darwin':
target_path = env['MAPNIK_LIB_BASE_DEST'] target_path = env['MAPNIK_LIB_BASE_DEST']
if 'uninstall' not in COMMAND_LINE_TARGETS: if 'uninstall' not in COMMAND_LINE_TARGETS:
@ -389,3 +391,5 @@ else:
env['create_uninstall_target'](env, target2) env['create_uninstall_target'](env, target2)
env['create_uninstall_target'](env, target1) env['create_uninstall_target'](env, target1)
env['create_uninstall_target'](env, target) env['create_uninstall_target'](env, target)
Depends(mapnik, env.subst('../deps/agg/libagg.a'))