From 95e434619b063a9a50163ac8d60319c2b5490a52 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 6 Jul 2008 02:32:09 +0200 Subject: 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) --- source3/Makefile.in | 1 + 1 file changed, 1 insertion(+) (limited to 'source3') 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) -- cgit