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

buildtools/wafsamba: make sure we create bin/default/ before trying to create symlinks in it

metze
This commit is contained in:
Stefan Metzmacher 2010-04-24 20:02:44 +02:00
parent c88b83b7c1
commit 1ed5f71820

View File

@ -57,6 +57,7 @@ def SAMBA_BUILD_ENV(conf):
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
mkdir_p(os.path.join(conf.blddir, 'default'))
for p in ['python','shared']:
link_target = os.path.join(conf.blddir, 'default/' + p)
if not os.path.lexists(link_target):