From b05852171ba355bc87a4f903484ee9ee0c0942f6 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 26 Mar 2010 14:32:22 +1100 Subject: s4-waf: another place where broken ln -f on solaris8 matters --- source4/heimdal_build/wscript_build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/heimdal_build') diff --git a/source4/heimdal_build/wscript_build b/source4/heimdal_build/wscript_build index 33af11505e..5240206e0d 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') -- cgit