Fix build errors in QNX SDP7

Because QNX SDP7 doesn't have separate "dl" library but it's include din "C" library. Therefore, -ldl option should not be used to build programs for QNX SDP7.
This commit is contained in:
Dooeui 2019-08-11 16:58:47 +09:00
parent 61a49ccb98
commit e251479dde
7 changed files with 28 additions and 0 deletions

View File

@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global
ifeq ($(POCO_CONFIG),FreeBSD) ifeq ($(POCO_CONFIG),FreeBSD)
SYSLIBS += -lssl -lcrypto -lz SYSLIBS += -lssl -lcrypto -lz
else else
ifeq ($(POCO_CONFIG),QNX)
SYSLIBS += -lssl -lcrypto -lz
else
SYSLIBS += -lssl -lcrypto -lz -ldl SYSLIBS += -lssl -lcrypto -lz -ldl
endif endif
endif
objects = genrsakey objects = genrsakey
target = genrsakey target = genrsakey

View File

@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global
ifeq ($(POCO_CONFIG),FreeBSD) ifeq ($(POCO_CONFIG),FreeBSD)
SYSLIBS += -lssl -lcrypto -lz SYSLIBS += -lssl -lcrypto -lz
else else
ifeq ($(POCO_CONFIG),QNX)
SYSLIBS += -lssl -lcrypto -lz
else
SYSLIBS += -lssl -lcrypto -lz -ldl SYSLIBS += -lssl -lcrypto -lz -ldl
endif endif
endif
objects = CryptoTestSuite Driver \ objects = CryptoTestSuite Driver \
CryptoTest DigestEngineTest ECTest \ CryptoTest DigestEngineTest ECTest \

View File

@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global
ifeq ($(POCO_CONFIG),FreeBSD) ifeq ($(POCO_CONFIG),FreeBSD)
SYSLIBS += -lssl -lcrypto -lz SYSLIBS += -lssl -lcrypto -lz
else else
ifeq ($(POCO_CONFIG),QNX)
SYSLIBS += -lssl -lcrypto -lz
else
SYSLIBS += -lssl -lcrypto -lz -ldl SYSLIBS += -lssl -lcrypto -lz -ldl
endif endif
endif
objects = HTTPSTimeServer objects = HTTPSTimeServer

View File

@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global
ifeq ($(POCO_CONFIG),FreeBSD) ifeq ($(POCO_CONFIG),FreeBSD)
SYSLIBS += -lssl -lcrypto -lz SYSLIBS += -lssl -lcrypto -lz
else else
ifeq ($(POCO_CONFIG),QNX)
SYSLIBS += -lssl -lcrypto -lz
else
SYSLIBS += -lssl -lcrypto -lz -ldl SYSLIBS += -lssl -lcrypto -lz -ldl
endif endif
endif
objects = Mail objects = Mail

View File

@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global
ifeq ($(POCO_CONFIG),FreeBSD) ifeq ($(POCO_CONFIG),FreeBSD)
SYSLIBS += -lssl -lcrypto -lz SYSLIBS += -lssl -lcrypto -lz
else else
ifeq ($(POCO_CONFIG),QNX)
SYSLIBS += -lssl -lcrypto -lz
else
SYSLIBS += -lssl -lcrypto -lz -ldl SYSLIBS += -lssl -lcrypto -lz -ldl
endif endif
endif
objects = Twitter TweetApp objects = Twitter TweetApp

View File

@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global
ifeq ($(POCO_CONFIG),FreeBSD) ifeq ($(POCO_CONFIG),FreeBSD)
SYSLIBS += -lssl -lcrypto -lz SYSLIBS += -lssl -lcrypto -lz
else else
ifeq ($(POCO_CONFIG),QNX)
SYSLIBS += -lssl -lcrypto -lz
else
SYSLIBS += -lssl -lcrypto -lz -ldl SYSLIBS += -lssl -lcrypto -lz -ldl
endif endif
endif
objects = download objects = download

View File

@ -10,8 +10,12 @@ include $(POCO_BASE)/build/rules/global
ifeq ($(POCO_CONFIG),FreeBSD) ifeq ($(POCO_CONFIG),FreeBSD)
SYSLIBS += -lssl -lcrypto -lz SYSLIBS += -lssl -lcrypto -lz
else else
ifeq ($(POCO_CONFIG),QNX)
SYSLIBS += -lssl -lcrypto -lz
else
SYSLIBS += -lssl -lcrypto -lz -ldl SYSLIBS += -lssl -lcrypto -lz -ldl
endif endif
endif
objects = NetSSLTestSuite Driver \ objects = NetSSLTestSuite Driver \
HTTPSClientSessionTest HTTPSClientTestSuite HTTPSServerTest HTTPSServerTestSuite \ HTTPSClientSessionTest HTTPSClientTestSuite HTTPSServerTest HTTPSServerTestSuite \