diff options
author | steve <steve> | 2011-01-30 01:14:34 +0000 |
---|---|---|
committer | steve <steve> | 2011-01-30 01:14:34 +0000 |
commit | c4f41f7cb26472582611440c00d610e869c0968f (patch) | |
tree | f8db741f790582df746bd58c71ec7e26e291f5c4 /Makefile.org | |
parent | b1c7442f247f048d829967d021033b0cd5ad7d33 (diff) | |
download | openssl-c4f41f7cb26472582611440c00d610e869c0968f.tar.gz |
Fix shared build for fips
Diffstat (limited to 'Makefile.org')
-rw-r--r-- | Makefile.org | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.org b/Makefile.org index ddc4e827c..ad956476d 100644 --- a/Makefile.org +++ b/Makefile.org @@ -369,8 +369,12 @@ all_testapps: build_libs build_testapps build_testapps: @dir=crypto; target=testapps; $(BUILD_ONE_CMD) -libcrypto$(SHLIB_EXT): libcrypto.a +libcrypto$(SHLIB_EXT): libcrypto.a build_fips @if [ "$(SHLIB_TARGET)" != "" ]; then \ + if [ "$(FIPSCANLIB)" = "libcrypto" ]; then \ + FIPSLD_CC="$(CC)"; CC=fips/fipsld; \ + export CC FIPSLD_CC; \ + fi; \ $(MAKE) SHLIBDIRS=crypto build-shared; \ else \ echo "There's no support for shared libraries on this platform" >&2; \ |