mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
www-nginx/*: Convert manual append_libs to ngx_mod_link_lib
Signed-off-by: Zurab Kvachadze <zurabid2016@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44576 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
63ce9d6693
commit
a61ff1fee5
@@ -14,7 +14,7 @@ NGINX_MOD_TEST_LOAD_ORDER=(
|
||||
www-nginx/ngx-echo
|
||||
www-nginx/ngx-lua-module
|
||||
)
|
||||
inherit toolchain-funcs nginx-module
|
||||
inherit nginx-module
|
||||
|
||||
DESCRIPTION="An NGINX module that encrypts and decrypts NGINX variable values"
|
||||
HOMEPAGE="https://github.com/openresty/encrypted-session-nginx-module"
|
||||
@@ -33,7 +33,7 @@ RDEPEND="${DEPEND}"
|
||||
src_configure() {
|
||||
# Make sure the module links to libcrypto, independently of whether NGINX
|
||||
# has SSL/TLS support.
|
||||
ngx_mod_append_libs "$("$(tc-getPKG_CONFIG)" --libs libcrypto)"
|
||||
ngx_mod_link_lib libcrypto
|
||||
|
||||
nginx-module_src_configure
|
||||
}
|
||||
|
||||
@@ -13,7 +13,7 @@ NGINX_MOD_TEST_LOAD_ORDER=(
|
||||
www-nginx/ngx-echo
|
||||
www-nginx/ngx-iconv
|
||||
)
|
||||
inherit toolchain-funcs nginx-module
|
||||
inherit nginx-module
|
||||
|
||||
DESCRIPTION="An NGINX module that adds various set_xxx directives to NGINX's rewrite module"
|
||||
HOMEPAGE="https://github.com/openresty/set-misc-nginx-module"
|
||||
@@ -41,7 +41,7 @@ src_configure() {
|
||||
local -x GENTOO_USE_HMAC=NO
|
||||
if use hmac; then
|
||||
GENTOO_USE_HMAC=YES
|
||||
ngx_mod_append_libs "$("$(tc-getPKG_CONFIG)" --libs libcrypto)"
|
||||
ngx_mod_link_lib libcrypto
|
||||
fi
|
||||
nginx-module_src_configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user