diff --git a/Crypto/samples/genrsakey/Makefile b/Crypto/samples/genrsakey/Makefile index 450781577..b891a960f 100644 --- a/Crypto/samples/genrsakey/Makefile +++ b/Crypto/samples/genrsakey/Makefile @@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global ifeq ($(POCO_CONFIG),FreeBSD) SYSLIBS += -lssl -lcrypto -lz else +ifeq ($(POCO_CONFIG),QNX) +SYSLIBS += -lssl -lcrypto -lz +else SYSLIBS += -lssl -lcrypto -lz -ldl endif +endif objects = genrsakey target = genrsakey diff --git a/Crypto/testsuite/Makefile b/Crypto/testsuite/Makefile index 4bd251e08..df050ecf7 100644 --- a/Crypto/testsuite/Makefile +++ b/Crypto/testsuite/Makefile @@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global ifeq ($(POCO_CONFIG),FreeBSD) SYSLIBS += -lssl -lcrypto -lz else +ifeq ($(POCO_CONFIG),QNX) +SYSLIBS += -lssl -lcrypto -lz +else SYSLIBS += -lssl -lcrypto -lz -ldl endif +endif objects = CryptoTestSuite Driver \ CryptoTest DigestEngineTest ECTest \ diff --git a/Foundation/src/File_UNIX.cpp b/Foundation/src/File_UNIX.cpp index 8fd20b357..f345eb88b 100644 --- a/Foundation/src/File_UNIX.cpp +++ b/Foundation/src/File_UNIX.cpp @@ -35,7 +35,7 @@ #include #include -#if (POCO_OS == POCO_OS_SOLARIS) +#if (POCO_OS == POCO_OS_SOLARIS) || (POCO_OS == POCO_OS_QNX) #define STATFSFN statvfs #define STATFSSTRUCT statvfs #else diff --git a/NetSSL_OpenSSL/samples/HTTPSTimeServer/Makefile b/NetSSL_OpenSSL/samples/HTTPSTimeServer/Makefile index c1b483ce0..41db06f54 100644 --- a/NetSSL_OpenSSL/samples/HTTPSTimeServer/Makefile +++ b/NetSSL_OpenSSL/samples/HTTPSTimeServer/Makefile @@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global ifeq ($(POCO_CONFIG),FreeBSD) SYSLIBS += -lssl -lcrypto -lz else +ifeq ($(POCO_CONFIG),QNX) +SYSLIBS += -lssl -lcrypto -lz +else SYSLIBS += -lssl -lcrypto -lz -ldl endif +endif objects = HTTPSTimeServer diff --git a/NetSSL_OpenSSL/samples/Mail/Makefile b/NetSSL_OpenSSL/samples/Mail/Makefile index 460039900..d1201f434 100644 --- a/NetSSL_OpenSSL/samples/Mail/Makefile +++ b/NetSSL_OpenSSL/samples/Mail/Makefile @@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global ifeq ($(POCO_CONFIG),FreeBSD) SYSLIBS += -lssl -lcrypto -lz else +ifeq ($(POCO_CONFIG),QNX) +SYSLIBS += -lssl -lcrypto -lz +else SYSLIBS += -lssl -lcrypto -lz -ldl endif +endif objects = Mail diff --git a/NetSSL_OpenSSL/samples/TwitterClient/Makefile b/NetSSL_OpenSSL/samples/TwitterClient/Makefile index 9170f8e6e..86523cfd2 100644 --- a/NetSSL_OpenSSL/samples/TwitterClient/Makefile +++ b/NetSSL_OpenSSL/samples/TwitterClient/Makefile @@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global ifeq ($(POCO_CONFIG),FreeBSD) SYSLIBS += -lssl -lcrypto -lz else +ifeq ($(POCO_CONFIG),QNX) +SYSLIBS += -lssl -lcrypto -lz +else SYSLIBS += -lssl -lcrypto -lz -ldl endif +endif objects = Twitter TweetApp diff --git a/NetSSL_OpenSSL/samples/download/Makefile b/NetSSL_OpenSSL/samples/download/Makefile index 428456eaf..c4631aad0 100644 --- a/NetSSL_OpenSSL/samples/download/Makefile +++ b/NetSSL_OpenSSL/samples/download/Makefile @@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global ifeq ($(POCO_CONFIG),FreeBSD) SYSLIBS += -lssl -lcrypto -lz else +ifeq ($(POCO_CONFIG),QNX) +SYSLIBS += -lssl -lcrypto -lz +else SYSLIBS += -lssl -lcrypto -lz -ldl endif +endif objects = download diff --git a/NetSSL_OpenSSL/testsuite/Makefile b/NetSSL_OpenSSL/testsuite/Makefile index 5913d7045..bd64186fb 100644 --- a/NetSSL_OpenSSL/testsuite/Makefile +++ b/NetSSL_OpenSSL/testsuite/Makefile @@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global ifeq ($(POCO_CONFIG),FreeBSD) SYSLIBS += -lssl -lcrypto -lz else +ifeq ($(POCO_CONFIG),QNX) +SYSLIBS += -lssl -lcrypto -lz +else SYSLIBS += -lssl -lcrypto -lz -ldl endif +endif objects = NetSSLTestSuite Driver \ HTTPSClientSessionTest HTTPSClientTestSuite HTTPSServerTest HTTPSServerTestSuite \