diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-16 16:41:14 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:49 +1000 |
commit | 062c2b1fe6aa08273291c952e8a579b759fda986 (patch) | |
tree | 3fd7a2ad9d7ce32e12d8f1632e79bdea2cd196c3 | |
parent | a9ea3d6fa510286b83c4bda42c9a857da3625451 (diff) | |
download | samba-062c2b1fe6aa08273291c952e8a579b759fda986.tar.gz samba-062c2b1fe6aa08273291c952e8a579b759fda986.tar.bz2 samba-062c2b1fe6aa08273291c952e8a579b759fda986.zip |
build: allow shared and python staging areas to be referenced in build tree
-rw-r--r-- | buildtools/wafsamba/wafsamba.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py index 5b63c1eef9..a6b9552313 100644 --- a/buildtools/wafsamba/wafsamba.py +++ b/buildtools/wafsamba/wafsamba.py @@ -27,6 +27,10 @@ def SAMBA_BUILD_ENV(conf): conf.env['BUILD_DIRECTORY'] = conf.blddir mkdir_p(os.path.join(conf.blddir, LIB_PATH)) mkdir_p(os.path.join(conf.blddir, 'python/samba/dcerpc')) + # this allows all of the bin/shared and bin/python targets + # to be expressed in terms of build directory paths + os.symlink('../python', os.path.join(conf.blddir, 'default/python')) + os.symlink('../shared', os.path.join(conf.blddir, 'default/shared')) ################################################################ |