diff options
author | Amitay Isaacs <amitay@gmail.com> | 2016-07-08 23:37:18 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2016-07-11 12:19:13 +0200 |
commit | c1c2a1cb9f2e25da3e674abda02227cc7e3a8b0d (patch) | |
tree | 75a0a395d5cce70e5e076d6afb6c31544c185597 /lib/socket_wrapper/wscript | |
parent | b32df94527fe9194366d548edb0ccfdbba9df123 (diff) | |
download | samba-c1c2a1cb9f2e25da3e674abda02227cc7e3a8b0d.tar.gz |
swrap: Build socket_wrapper path relative to blddir
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/socket_wrapper/wscript')
-rw-r--r-- | lib/socket_wrapper/wscript | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/socket_wrapper/wscript b/lib/socket_wrapper/wscript index 4b6e5fa1aa2..dbefa83ea33 100644 --- a/lib/socket_wrapper/wscript +++ b/lib/socket_wrapper/wscript @@ -96,8 +96,8 @@ def configure(conf): define='HAVE_EVENTFD_UNSIGNED_INT', headers='sys/eventfd.h') # Create full path to socket_wrapper - srcdir = os.path.realpath(conf.srcdir) - libsocket_wrapper_so_path = srcdir + '/bin/default/lib/socket_wrapper/libsocket-wrapper.so' + blddir = os.path.realpath(conf.blddir) + libsocket_wrapper_so_path = blddir + '/default/lib/socket_wrapper/libsocket-wrapper.so' conf.DEFINE('LIBSOCKET_WRAPPER_SO_PATH', libsocket_wrapper_so_path) conf.DEFINE('SOCKET_WRAPPER', 1) |