diff auto/lib/pcre/makefile.owc @ 2838:ecdc41bf2047

backout r2833: CURDIR was set to Unix style path instead, do chdir inside Makefile
author Igor Sysoev <igor@sysoev.ru>
date Tue, 12 May 2009 13:15:43 +0000
parents b1648294f693
children 22c4c012c8c9
line wrap: on
line diff
--- a/auto/lib/pcre/makefile.owc
+++ b/auto/lib/pcre/makefile.owc
@@ -6,7 +6,9 @@ CFLAGS =	-c -zq -bt=nt -ot -op -oi -oe -
 PCREFLAGS =	-DPCRE_STATIC -DPOSIX_MALLOC_THRESHOLD=10
 
 
-pcre.lib:	pcre.h
+pcre.lib:
+	cd $(PCRE)
+
 	wcl386 -zq -bt=nt -l=nt -fe=dftables dftables.c
 	dftables > chartables.c
 
@@ -15,5 +17,6 @@ pcre.lib:	pcre.h
 
 
 pcre.h:
+	cd $(PCRE)
 	patch -o pcre.h pcre.in patch.pcre.in.owc
 	patch -o config.h config.in patch.config.in