Permalink
Browse files

ensure we rebuild libmapnik if agg sources change

  • Loading branch information...
Dane Springmeyer
Dane Springmeyer committed Oct 2, 2012
1 parent 7866cc3 commit 1468133bc0a9c3efa08bef71c187d10d249c3212
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/build.py
View
@@ -339,6 +339,8 @@ def ldconfig(*args,**kwargs):
env['LIBMAPNIK_LIBS'] = copy(lib_env['LIBS'])
env['LIBMAPNIK_CXXFLAGS'] = libmapnik_cxxflags
+mapnik = None
+
if env['PLATFORM'] == 'Darwin':
target_path = env['MAPNIK_LIB_BASE_DEST']
if 'uninstall' not in COMMAND_LINE_TARGETS:
@@ -389,3 +391,5 @@ def symlink(env, target, source):
env['create_uninstall_target'](env, target2)
env['create_uninstall_target'](env, target1)
env['create_uninstall_target'](env, target)
+
+Depends(mapnik, env.subst('../deps/agg/libagg.a'))

0 comments on commit 1468133

Please sign in to comment.