mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +01:00
Use Cygwin instead of CYGWIN for POCO_HOST_OSNAME.
Setup OSARCH_64BITS to 1 for Cygwin x86_64 platform. Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
parent
0926c9b752
commit
883800f56c
@ -68,7 +68,10 @@ endif
|
||||
#
|
||||
POCO_HOST_OSNAME = $(shell uname)
|
||||
ifeq ($(findstring CYGWIN,$(POCO_HOST_OSNAME)),CYGWIN)
|
||||
POCO_HOST_OSNAME = CYGWIN
|
||||
ifeq ($(findstring x86_64,$(POCO_HOST_OSNAME)),x86_64)
|
||||
OSARCH_64BITS = 1
|
||||
endif
|
||||
POCO_HOST_OSNAME = Cygwin
|
||||
endif
|
||||
|
||||
ifeq ($(findstring MINGW,$(POCO_HOST_OSNAME)),MINGW)
|
||||
@ -161,6 +164,9 @@ LIB64SUFFIX = $(if $(filter $(OSARCH),x86_64 sparc64 ppc64),64,)
|
||||
else ifneq ($(DEBIANISH),)
|
||||
LIB64SUFFIX = $(if $(filter $(OSARCH),x86_64 sparc64 ppc64),/x86_64-linux-gnu,)
|
||||
endif
|
||||
ifeq ($(findstring Cygwin,$(POCO_HOST_OSNAME)),Cygwin)
|
||||
LIB64SUFFIX = $(if $(filter $(OSARCH),x86_64),64,)
|
||||
endif
|
||||
|
||||
# Default static lib extension
|
||||
STATICLIBLINKEXT = .a
|
||||
|
Loading…
x
Reference in New Issue
Block a user