Makefile.shared: limit .dll image base pinning to FIPS builds.
Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
parent
dfb10af92e
commit
464dadb29d
@ -295,7 +295,7 @@ link_shlib.mingw:
|
|||||||
SHLIB_SOVER=-$$sover$$arch; \
|
SHLIB_SOVER=-$$sover$$arch; \
|
||||||
SHLIB_SUFFIX=.dll; \
|
SHLIB_SUFFIX=.dll; \
|
||||||
dll_name=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX; \
|
dll_name=$$SHLIB$$SHLIB_SOVER$$SHLIB_SUFFIX; \
|
||||||
base=; [ $(LIBNAME) = "crypto" ] && base=-Wl,--image-base,0x63000000; \
|
base=; [ $(LIBNAME) = "crypto" -a -n "$(FIPSCANLIB)" ] && base=-Wl,--image-base,0x63000000; \
|
||||||
$(PERL) $(SRCDIR)/util/mkdef.pl 32 $(LIBNAME) \
|
$(PERL) $(SRCDIR)/util/mkdef.pl 32 $(LIBNAME) \
|
||||||
| sed -e 's|^\(LIBRARY *\)$(LIBNAME)32|\1'"$$dll_name"'|' \
|
| sed -e 's|^\(LIBRARY *\)$(LIBNAME)32|\1'"$$dll_name"'|' \
|
||||||
> $(LIBNAME).def; \
|
> $(LIBNAME).def; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user