mirror of
https://github.com/openssl/openssl.git
synced 2025-01-30 14:01:55 +08:00
Configurations/unix-Makefile.tmpl: use platform->sharedlib() as fallback
If platform->sharedlib_simple() and platform->sharedlib_import() return undefined, try platform->sharedlib() as a fallback before platform->staticlib(). Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16023)
This commit is contained in:
parent
1bbe13fce5
commit
f159b83a75
@ -1392,7 +1392,7 @@ FORCE:
|
||||
|
||||
# Building targets ###################################################
|
||||
|
||||
libcrypto.pc libssl.pc openssl.pc: configdata.pm $(LIBS) {- join(" ",map { platform->sharedlib_simple($_) // platform->sharedlib_import($_) // () } @{$unified_info{libraries}}) -}
|
||||
libcrypto.pc libssl.pc openssl.pc: configdata.pm $(LIBS) {- join(" ",map { platform->sharedlib_simple($_) // platform->sharedlib_import($_) // platform->sharedlib($_) // () } @{$unified_info{libraries}}) -}
|
||||
libcrypto.pc:
|
||||
@ ( echo 'prefix=$(INSTALLTOP)'; \
|
||||
echo 'exec_prefix=$${prefix}'; \
|
||||
@ -1484,6 +1484,7 @@ reconfigure reconf:
|
||||
# On Unix platforms, we depend on {shlibname}.so
|
||||
return map { platform->sharedlib_simple($_)
|
||||
// platform->sharedlib_import($_)
|
||||
// platform->sharedlib($_)
|
||||
// platform->staticlib($_)
|
||||
} @_;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user