diff options
author | Stefan Metzmacher <metze@samba.org> | 2017-04-07 09:27:39 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2017-04-07 10:32:13 +0200 |
commit | 05c8aa63909e7691bf49c04c7c15bb576a69e2bd (patch) | |
tree | 0abb71b25ed9cebd30c0e523faf2667f19d9fa45 /lib/resolv_wrapper | |
parent | 013a92ccc84d8df9255d8e28793c8ecd766681c7 (diff) | |
download | samba-05c8aa63909e7691bf49c04c7c15bb576a69e2bd.tar.gz |
resolv_wrapper: use conf.blddir to construct libnss_wrapper_so_path
conf.blddir might not the the same as conf.srcdir + '/bin'.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'lib/resolv_wrapper')
-rw-r--r-- | lib/resolv_wrapper/wscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/resolv_wrapper/wscript b/lib/resolv_wrapper/wscript index 11904cec630..25371ed80be 100644 --- a/lib/resolv_wrapper/wscript +++ b/lib/resolv_wrapper/wscript @@ -79,8 +79,8 @@ def configure(conf): conf.DEFINE("HAVE_NS_NAME_COMPRESS", 1) # Create full path to resolv_wrapper - srcdir = os.path.realpath(conf.srcdir) - libresolv_wrapper_so_path = srcdir + '/bin/default/lib/resolv_wrapper/libresolv-wrapper.so' + blddir = os.path.realpath(conf.blddir) + libresolv_wrapper_so_path = blddir + '/default/lib/resolv_wrapper/libresolv-wrapper.so' conf.DEFINE('LIBRESOLV_WRAPPER_SO_PATH', libresolv_wrapper_so_path) conf.DEFINE('RESOLV_WRAPPER', 1) |