From 19b6e8b4082e4c4d77eb2515f9f9d8caf20922ae Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 19 Mar 2010 19:49:59 +1100 Subject: build: use SUBST_VARS_RECURSIVE() for install_path --- buildtools/wafsamba/wafsamba.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index f17f1a0c57..e7ea4d3117 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -4,6 +4,7 @@ import Build, os, Options, Task, Utils, cc, TaskGen from Configure import conf from Logs import debug +from samba_utils import SUBST_VARS_RECURSIVE # bring in the other samba modules from samba_optimisation import * @@ -118,7 +119,8 @@ def SAMBA_LIBRARY(bld, libname, source, ) if install_path is None: - install_path = '${PREFIX}/lib' + install_path = '${LIBDIR}' + install_path = SUBST_VARS_RECURSIVE(install_path, bld.env) if install: # create a separate install library, which may have @@ -224,7 +226,8 @@ def SAMBA_BINARY(bld, binname, source, ) if install_path is None: - install_path = '${PREFIX}/bin' + install_path = '${BINDIR}' + install_path = SUBST_VARS_RECURSIVE(install_path, bld.env) if install: # we create a separate 'install' binary, which -- cgit