From c31f990db3f6396ee6ab8cc6f132549fa4af398e Mon Sep 17 00:00:00 2001
From: Pierangelo Masarati <ando@openldap.org>
Date: Thu, 6 Apr 2006 01:28:37 +0000
Subject: [PATCH] import fix to ITS#4435

---
 CHANGES                           | 1 +
 libraries/liblunicode/Makefile.in | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/CHANGES b/CHANGES
index 00eb6331ce..93489439d9 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,7 @@ OpenLDAP 2.3.21 Engineering
 	Fixed libldap invalid free bug (ITS#4436)
 	Fixed libldap mutex leak (ITS#4441)
 	Fixed libldap_r thr_yield(2) return handling (ITS#4469)
+	Fixed liblunicode build (ITS#4435)
 	Fixed slapd syncprov/glue interaction issue (ITS#4323, ITS#4417)
 	Fixed slapd operational attrs in presence of global overlays (ITS#4431)
 	Fixed slapd "threads" config value checking (ITS#4433)
diff --git a/libraries/liblunicode/Makefile.in b/libraries/liblunicode/Makefile.in
index c7de1a7827..efebb18172 100644
--- a/libraries/liblunicode/Makefile.in
+++ b/libraries/liblunicode/Makefile.in
@@ -15,7 +15,7 @@
 
 LIBRARY = liblunicode.a
 
-XXDIR = $(srcdir)/*/
+XXDIR = $(srcdir)/ucdata/
 XXHEADERS = ucdata.h ure.h uctable.h
 
 XXSRCS	= ucdata.c ucgendat.c ure.c urestubs.c
@@ -41,7 +41,8 @@ ucgendat: $(XLIBS) ucgendat.o
 .links :
 	@for i in $(XXSRCS) $(XXHEADERS); do \
 		$(RM) $$i ; \
-		$(LN_S) $(XXDIR)$$i . ; \
+		ii=`find . -name $$i` ; \
+		$(LN_S) $$ii . ; \
 	done
 	touch .links
 
-- 
GitLab