summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-21 09:27:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:59:00 -0500
commitd511094bbc02d15a0a9223d26d338ea125917a41 (patch)
treeb8ab93a7c11712870c814c21317ba6e3fb38005e
parentb5e849f22f035ca2c3d0226a5638818d4efbf312 (diff)
downloadsamba-d511094bbc02d15a0a9223d26d338ea125917a41.tar.gz
samba-d511094bbc02d15a0a9223d26d338ea125917a41.tar.bz2
samba-d511094bbc02d15a0a9223d26d338ea125917a41.zip
r14608: Force creating symlinks (otherwise we end up with EEXIST errors)
(This used to be commit 849d9e8cc3aaea03775b0bfdfd0d263a97a8b9d2)
-rw-r--r--source4/build/smb_build/makefile.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/smb_build/makefile.pm b/source4/build/smb_build/makefile.pm
index ec306c2bb7..bbc632d86a 100644
--- a/source4/build/smb_build/makefile.pm
+++ b/source4/build/smb_build/makefile.pm
@@ -218,7 +218,7 @@ sub SharedLibrary($$)
$self->{uninstall_plugins} .= "\t\@-rm \$(DESTDIR)\$(MODULESDIR)/$ctx->{SUBSYSTEM}/$ctx->{FIXED_NAME}.\$(SHLIBEXT)\n";
if (defined($ctx->{ALIASES})) {
foreach (@{$ctx->{ALIASES}}) {
- $self->{install_plugins} .= "\t\@ln -s $ctx->{FIXED_NAME}.\$(SHLIBEXT) \$(DESTDIR)\$(MODULESDIR)/$ctx->{SUBSYSTEM}/$_.\$(SHLIBEXT)\n";
+ $self->{install_plugins} .= "\t\@ln -fs $ctx->{FIXED_NAME}.\$(SHLIBEXT) \$(DESTDIR)\$(MODULESDIR)/$ctx->{SUBSYSTEM}/$_.\$(SHLIBEXT)\n";
$self->{uninstall_plugins} .= "\t\@-rm \$(DESTDIR)\$(MODULESDIR)/$ctx->{SUBSYSTEM}/$_.\$(SHLIBEXT)\n";
}
}
@@ -273,7 +273,7 @@ __EOD__
);
if (defined($ctx->{ALIASES})) {
foreach (@{$ctx->{ALIASES}}) {
- $self->output("\t\@ln -s $ctx->{FIXED_NAME}.\$(SHLIBEXT) $ctx->{DEBUGDIR}/$_.\$(SHLIBEXT)\n");
+ $self->output("\t\@ln -fs $ctx->{FIXED_NAME}.\$(SHLIBEXT) $ctx->{DEBUGDIR}/$_.\$(SHLIBEXT)\n");
}
}