[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: (ITS#5215) Use of ln is hardcoded in some files



OK it works, thank you.

-----Message d'origine-----
De : Hallvard Breien Furuseth [mailto:h.b.furuseth@usit.uio.no] 
Envoyé : jeudi 8 novembre 2007 15:48
À : emmanuel.duru@atosorigin.com
Cc : openldap-its@openldap.org
Objet : RE: (ITS#5215) Use of ln is hardcoded in some files

emmanuel.duru@atosorigin.com writes:
> Then with MSYS, I get an error when running make on servers/slapd
> Makefile: in case there is no extra LDFLAG, (...)

Try this patch:

--- servers/slapd/Makefile.in~	2007-02-14 16:59:43.000000000 +0100
+++ servers/slapd/Makefile.in	2007-11-08 15:40:32.475898000 +0100
@@ -157,3 +157,3 @@
 slapd.def: libbackends.a liboverlays.a version.o
-	@for i in $(LDFLAGS) ; do \
+	@for i in XX $(LDFLAGS) ; do \
 	    path=`expr "$$i" : "-L\(.*\)"`; \
@@ -169,3 +169,4 @@
 		    base=`expr "$$i" : "-l\(.*\)"`; \
-		    for p in $$paths ; do \
+		    for p in " " $$paths ; do \
+			test "x$$p" = "x " && continue ; \
 			for ext in la dll dll.a a ; do \

-- 
Regards,
Hallvard