summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-06 02:32:09 +0200
committerMichael Adam <obnox@samba.org>2008-07-07 20:33:58 +0200
commit95e434619b063a9a50163ac8d60319c2b5490a52 (patch)
tree0191f2ff1fafcbaaad3c603d1bcfcf858c4940aa
parent7a3e3f0a37160e46d10e74ecde5e1a2d075328ea (diff)
downloadsamba-95e434619b063a9a50163ac8d60319c2b5490a52.tar.gz
samba-95e434619b063a9a50163ac8d60319c2b5490a52.tar.bz2
samba-95e434619b063a9a50163ac8d60319c2b5490a52.zip
build: fix creation of link libtalloc.so on some systems.
ln -s -f seem to be unknown on some solaris versions (e.g.). so if there is an old libtalloc.so around, this will fail. use rm -f prior to creating the link to circumvent this. Michael (This used to be commit d913b1e7316e84c1430f9d577f49d3c3e4e7719b)
-rw-r--r--source3/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index a6b758cc04..a4f66cd0e0 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -1615,6 +1615,7 @@ $(LIBTALLOC_SHARED_TARGET_SONAME): $(BINARY_PREREQS) $(LIBTALLOC_OBJ) $(LIBTALLO
@$(SHLD_DSO) $(LIBTALLOC_OBJ) @SONAMEFLAG@`basename $@`
$(LIBTALLOC_SHARED_TARGET): $(LIBTALLOC_SHARED_TARGET_SONAME)
+ @rm -f $@
@ln -s -f `basename $(LIBTALLOC_SHARED_TARGET_SONAME)` $@
$(LIBTALLOC_STATIC_TARGET): $(BINARY_PREREQS) $(LIBTALLOC_OBJ0)