From 2c28219e4c79a93cb9c05c6f788a5fbe266b8a68 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sun, 13 Jan 2013 22:16:43 -0800 Subject: [PATCH] add back depedence of hello world plugin on libmapnik accidentally removed in refactoring in 3e67c1d694be --- plugins/input/templates/helloworld/build.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/input/templates/helloworld/build.py b/plugins/input/templates/helloworld/build.py index c0b75f0c9..5a974dd4b 100644 --- a/plugins/input/templates/helloworld/build.py +++ b/plugins/input/templates/helloworld/build.py @@ -68,6 +68,9 @@ TARGET = plugin_env.SharedLibrary( LINKFLAGS=env.get('CUSTOM_LDFLAGS') ) +# if the plugin links to libmapnik ensure it is built first +Depends(TARGET, env.subst('../../../../src/%s' % env['MAPNIK_LIB_NAME'])) + # if 'uninstall' is not passed on the command line # then we actually create the install targets that # scons will install if 'install' is passed as an arg