Use POCO_BUILD instead of POCO_BASE. Add cygPoco*.dll to PATH.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-11-19 10:21:19 +01:00
parent 9a7a1258e4
commit c734e5cefc

View File

@ -8,8 +8,13 @@
include $(POCO_BASE)/build/rules/global
# Cygwin Poco*.dll should be on PATH
ifeq ($(OSNAME), CYGWIN)
PATH :=$(LIBPATH):$(PATH)
endif
# Where to find the PageCompiler executable
PAGECOMPILER = $(POCO_BASE)/PageCompiler/bin/$(POCO_HOST_OSNAME)/$(POCO_HOST_OSARCH)/cpspc
PAGECOMPILER = $(POCO_BUILD)/PageCompiler/bin/$(OSNAME)/$(OSARCH)/cpspc
objects = HTTPTimeServerApp TimeHandler
@ -20,7 +25,7 @@ target_libs = PocoUtil PocoJSON PocoNet PocoXML PocoFoundation
include $(POCO_BASE)/build/rules/exec
ifdef POCO_UNBUNDLED
SYSLIBS += -lz -lpcre -lexpat
SYSLIBS += -lz -lpcre -lexpat
endif
# Rule for runnning PageCompiler