summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal_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')