1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

build: cope with binaries with subdir prefixes (for s3 waf build)

This commit is contained in:
Andrew Tridgell 2010-04-05 18:16:47 +10:00
parent 748ef2c865
commit 35ec7c34b3

View File

@ -147,7 +147,7 @@ def symlink_bin(self):
blddir = Utils.g_module.blddir
binpath = self.link_task.outputs[0].abspath(self.env)
bldpath = os.path.join(blddir, self.target)
bldpath = os.path.join(blddir, os.path.basename(self.target))
binpath = os_path_relpath(binpath, os.path.dirname(bldpath))