diff options
author | Kurt Roeckx <kurt@roeckx.be> | 2014-06-07 13:32:23 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2014-06-09 00:12:37 +0100 |
commit | 33e1a1d652f2d662915b6fe3a934a1000bd9fd88 (patch) | |
tree | 36939effaf919659b31b88e1acddfb80e1f01fcb /test/Makefile | |
parent | 38956b071adfba2e3fd05e4885687cf6bc85e74e (diff) |
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.
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile index af5f029cbb..7e57554e14 100644 --- a/test/Makefile +++ b/test/Makefile @@ -383,6 +383,13 @@ FIPS_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) @@ -492,7 +499,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 |