From 66fa8e15ab47a6569e639f6c1e8d46f0cfa465c8 Mon Sep 17 00:00:00 2001 From: Vadim Zhukov Date: Fri, 17 May 2013 12:51:03 +0400 Subject: [PATCH] Reverse order of paths added to get more reliable builds BUG: https://bugzilla.samba.org/show_bug.cgi?id=9890 --- buildtools/wafsamba/samba_conftests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildtools/wafsamba/samba_conftests.py b/buildtools/wafsamba/samba_conftests.py index ec98ba0..560d939 100644 --- a/buildtools/wafsamba/samba_conftests.py +++ b/buildtools/wafsamba/samba_conftests.py @@ -39,9 +39,9 @@ def check(self, *k, **kw): def add_options_dir(dirs, env): for x in dirs: if not x in env.CPPPATH: - env.CPPPATH = [os.path.join(x, 'include')] + env.CPPPATH + env.CPPPATH = env.CPPPATH + [os.path.join(x, 'include')] if not x in env.LIBPATH: - env.LIBPATH = [os.path.join(x, 'lib')] + env.LIBPATH + env.LIBPATH = env.LIBPATH + [os.path.join(x, 'lib')] add_options_dir(additional_dirs, kw['env']) -- 1.8.2.2