summaryrefslogtreecommitdiff
path: root/source4/heimdal_build/wscript_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-26 14:32:22 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:07 +1000
commitb05852171ba355bc87a4f903484ee9ee0c0942f6 (patch)
tree0076a7b467fe9d50065344761aa9ce8e28d8a094 /source4/heimdal_build/wscript_build
parent42bad41cedfc717cfb6c80744bef6b1570ae502b (diff)
downloadsamba-b05852171ba355bc87a4f903484ee9ee0c0942f6.tar.gz
samba-b05852171ba355bc87a4f903484ee9ee0c0942f6.tar.bz2
samba-b05852171ba355bc87a4f903484ee9ee0c0942f6.zip
s4-waf: another place where broken ln -f on solaris8 matters
Diffstat (limited to 'source4/heimdal_build/wscript_build')
-rw-r--r--source4/heimdal_build/wscript_build4
1 files changed, 2 insertions, 2 deletions
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')