New patches from Fedora.
[fedora-mingw.git] / poco / poco-02-makefiles.patch
1 --- Foundation/Makefile.orig    2008-11-08 11:03:03.000000000 +0000
2 +++ Foundation/Makefile 2008-11-08 11:03:26.000000000 +0000
3 @@ -40,8 +40,12 @@
4  ifeq ($(POCO_CONFIG),MinGW)
5         objects += EventLogChannel WindowsConsoleChannel
6  else
7 +ifeq ($(POCO_CONFIG),MinGW-cross)
8 +       objects += EventLogChannel WindowsConsoleChannel
9 +else
10         objects += SyslogChannel
11  endif
12 +endif
13  
14  target         = PocoFoundation
15  target_version = $(LIBVERSION)
16 --- Util/Makefile.orig  2008-11-08 11:26:18.000000000 +0000
17 +++ Util/Makefile       2008-11-08 11:26:44.000000000 +0000
18 @@ -17,7 +17,10 @@
19         Validator IntValidator RegExpValidator OptionCallback
20  
21  ifeq ($(POCO_CONFIG),MinGW)
22 -       objects += WinService 
23 +       objects += WinService
24 +endif
25 +ifeq ($(POCO_CONFIG),MinGW-cross)
26 +       objects += WinService
27  endif
28  
29  target         = PocoUtil