From: Kurt Roeckx Date: Sat, 7 Jun 2014 11:32:23 +0000 (+0200) Subject: Link heartbeat_test with the static version of the libraries X-Git-Tag: master-post-reformat~722 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=95fe635d902d6ebb605c635abe42de39acf7475e;p=oweals%2Fopenssl.git Link heartbeat_test with the static version of the libraries It's using an internal API that that might not be available in the shared library. --- diff --git a/test/Makefile b/test/Makefile index f1816ace15..1dd7bb91a6 100644 --- a/test/Makefile +++ b/test/Makefile @@ -420,6 +420,13 @@ BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \ LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \ link_app.$${shlib_target} +BUILD_CMD_STATIC=shlib_target=; \ + LIBRARIES="$(DLIBSSL) $(DLIBCRYPTO) $(LIBKRB5)"; \ + $(MAKE) -f $(TOP)/Makefile.shared -e \ + APPNAME=$$target$(EXE_EXT) OBJECTS="$$target.o" \ + LIBDEPS="$(PEX_LIBS) $$LIBRARIES $(EX_LIBS)" \ + link_app.$${shlib_target} + $(RSATEST)$(EXE_EXT): $(RSATEST).o $(DLIBCRYPTO) @target=$(RSATEST); $(BUILD_CMD) @@ -618,7 +625,7 @@ $(V3NAMETEST)$(EXE_EXT): $(V3NAMETEST).o $(DLIBCRYPTO) @target=$(V3NAMETEST); $(BUILD_CMD) $(HEARTBEATTEST)$(EXE_EXT): $(HEARTBEATTEST).o $(DLIBCRYPTO) - @target=$(HEARTBEATTEST); $(BUILD_CMD) + @target=$(HEARTBEATTEST); $(BUILD_CMD_STATIC) #$(AESTEST).o: $(AESTEST).c # $(CC) -c $(CFLAGS) -DINTERMEDIATE_VALUE_KAT -DTRACE_KAT_MCT $(AESTEST).c