From d3cc90d746d0214ca7762897060113d92e31e40a Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 12 Dec 2008 16:46:55 +0000 Subject: [PATCH] update CPPPATH (include directory) as well so plug-ins can find everything git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5827 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/ExDLL/SConscript | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Contrib/ExDLL/SConscript b/Contrib/ExDLL/SConscript index a209355e..9994cc16 100644 --- a/Contrib/ExDLL/SConscript +++ b/Contrib/ExDLL/SConscript @@ -36,5 +36,8 @@ env.DistributeExamples(example + api_files + lib, path='Plugin') # make sure all the other plug-ins can use the library -plugin_env.Append(LIBPATH = [lib[0].dir]) +env.Install('#$BUILD_PREFIX/api', api_files) + +plugin_env.Append(CPPPATH = ['#$BUILD_PREFIX/api']) +plugin_env.Append(LIBPATH = ['#$BUILD_PREFIX/api']) plugin_env.Append(LIBS = [lib_target])