Permalink
Browse files

scons: only depend on libagg if it will be built

  • Loading branch information...
1 parent 20a3178 commit a7f2eacd764cb5b9d533852f44f6242ca97638d9 Dane Springmeyer committed Oct 10, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/build.py
View
@@ -392,4 +392,5 @@ def symlink(env, target, source):
env['create_uninstall_target'](env, target1)
env['create_uninstall_target'](env, target)
-Depends(mapnik, env.subst('../deps/agg/libagg.a'))
+if not env['RUNTIME_LINK'] == 'static':
+ Depends(mapnik, env.subst('../deps/agg/libagg.a'))

0 comments on commit a7f2eac

Please sign in to comment.