From: Michael Adam Date: Sun, 6 Jul 2008 00:32:09 +0000 (+0200) Subject: build: fix creation of link libtalloc.so on some systems. X-Git-Tag: samba-3.3.0pre1~665 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d913b1e7316e84c1430f9d577f49d3c3e4e7719b;p=thirdparty%2Fsamba.git 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 --- diff --git a/source/Makefile.in b/source/Makefile.in index a6b758cc044..a4f66cd0e0e 100644 --- a/source/Makefile.in +++ b/source/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)