mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
SF [2840802] fixes compiling static libraries on Solaris
SF [2841113] Crypto testsuite/sample fails to link on POSIX
This commit is contained in:
parent
1bd3511e89
commit
4bdeaa7baf
@ -8,6 +8,8 @@
|
||||
|
||||
include $(POCO_BASE)/build/rules/global
|
||||
|
||||
SYSLIBS += -lssl -lcrypto
|
||||
|
||||
objects = genrsakey
|
||||
|
||||
target = genrsakey
|
||||
|
@ -8,6 +8,8 @@
|
||||
|
||||
include $(POCO_BASE)/build/rules/global
|
||||
|
||||
SYSLIBS += -lssl -lcrypto
|
||||
|
||||
objects = CryptoTestSuite Driver \
|
||||
CryptoTest RSATest
|
||||
|
||||
|
@ -17,7 +17,7 @@ LINKMODE = SHARED
|
||||
CC = cc
|
||||
CXX = CC
|
||||
LINK = $(CXX)
|
||||
LIB = $(CXX) -xar -o $@
|
||||
LIB = $(CXX) -xar -o
|
||||
RANLIB = ranlib
|
||||
SHLIB = $(CXX) $(LINKFLAGS) -G -o $@ -h$(notdir $@)
|
||||
SHLIBLN = $(POCO_BASE)/build/script/shlibln
|
||||
|
@ -17,7 +17,7 @@ LINKMODE = SHARED
|
||||
CC = cc
|
||||
CXX = CC
|
||||
LINK = $(CXX)
|
||||
LIB = $(CXX) -xar -o $@
|
||||
LIB = $(CXX) -xar -o
|
||||
RANLIB = ranlib
|
||||
SHLIB = $(CXX) $(LINKFLAGS) -G -o $@ -h$(notdir $@)
|
||||
SHLIBLN = $(POCO_BASE)/build/script/shlibln
|
||||
|
@ -17,7 +17,7 @@ LINKMODE = SHARED
|
||||
CC = cc -xtarget=opteron -m64
|
||||
CXX = CC -xtarget=opteron -m64 -library=no%Cstd
|
||||
LINK = $(CXX)
|
||||
LIB = $(CXX) -xar -o $@
|
||||
LIB = $(CXX) -xar -o
|
||||
RANLIB = ranlib
|
||||
SHLIB = $(CXX) $(LINKFLAGS) -G -o $@ -h$(notdir $@)
|
||||
SHLIBLN = $(POCO_BASE)/build/script/shlibln
|
||||
|
@ -41,14 +41,14 @@ shared_release: bindirs $(EXEC_RELEASE_SHARED)
|
||||
|
||||
$(EXEC_DEBUG_STATIC): $(foreach o,$(objects),$(OBJPATH_DEBUG_STATIC)/$(o).o)
|
||||
@echo "** Building executable (debug)" $@
|
||||
$(LINK) $(LINKFLAGS) $(DEBUGOPT_LINK) $(STATICOPT_LINK) -o $@ $^ $(LIBRARY) $(TARGET_LIBS_DEBUG) $(SYSLIBS)
|
||||
$(LINK) $(LINKFLAGS) $(DEBUGOPT_LINK) $(STATICOPT_LINK) -o $@ $^ $(LIBRARY) $(TARGET_LIBS_DEBUG) $(SHAREDOPT_LINK) $(SYSLIBS)
|
||||
$(CPYDBG)
|
||||
$(STRIPDBGCMD)
|
||||
$(postbuild)
|
||||
|
||||
$(EXEC_RELEASE_STATIC): $(foreach o,$(objects),$(OBJPATH_RELEASE_STATIC)/$(o).o)
|
||||
@echo "** Building executable (release)" $@
|
||||
$(LINK) $(LINKFLAGS) $(RELEASEOPT_LINK) $(STATICOPT_LINK) -o $@ $^ $(LIBRARY) $(TARGET_LIBS_RELEASE) $(SYSLIBS)
|
||||
$(LINK) $(LINKFLAGS) $(RELEASEOPT_LINK) $(STATICOPT_LINK) -o $@ $^ $(LIBRARY) $(TARGET_LIBS_RELEASE) $(SHAREDOPT_LINK) $(SYSLIBS)
|
||||
$(STRIPCMD)
|
||||
$(postbuild)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user