From: Andrew Tridgell Date: Fri, 26 Mar 2010 03:32:22 +0000 (+1100) Subject: s4-waf: another place where broken ln -f on solaris8 matters X-Git-Tag: samba-3.6.0pre1~3420 X-Git-Url: http://git.samba.org/samba.git/?p=nivanova%2Fsamba-autobuild%2F.git;a=commitdiff_plain;h=b05852171ba355bc87a4f903484ee9ee0c0942f6 s4-waf: another place where broken ln -f on solaris8 matters --- diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build index 33af11505ef..5240206e0dd 100644 --- a/source4/heimdal_build/wscript_build +++ b/source4/heimdal_build/wscript_build @@ -253,7 +253,7 @@ bld.SAMBA_SUBSYSTEM('HEIMDAL_GSSAPI', bld.SAMBA_GENERATOR( name="HEIMDAL_IFADDRS_H", - rule="ln -f ${SRC} ${TGT}", + rule="rm -f ${TGT} && ln ${SRC} ${TGT}", source = 'ifaddrs.hin', target = 'ifaddrs.h', enabled = not bld.CONFIG_SET('HAVE_IFADDRS_H') @@ -262,7 +262,7 @@ bld.SAMBA_GENERATOR( bld.SAMBA_GENERATOR( group='build_compiler_source', name="HEIMDAL_ERR_H", - rule="ln -f ${SRC} ${TGT}", + rule="rm -f ${TGT} && ln ${SRC} ${TGT}", source = '../heimdal/lib/roken/err.hin', target = '../heimdal/lib/roken/err.h', enabled = not bld.CONFIG_SET('HAVE_ERR_H')