Instead of using static paths, resolve them instead.

Signed-off-by: Christian Melki <[email protected]>
---
 rules/openssl.make | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/rules/openssl.make b/rules/openssl.make
index f8d07b472..492bac3e1 100644
--- a/rules/openssl.make
+++ b/rules/openssl.make
@@ -65,8 +65,8 @@ endif
 #
 OPENSSL_CONF_OPT := \
        --prefix=/usr \
-       --libdir=/usr/lib \
-       --openssldir=/usr/lib/ssl \
+       --libdir=/usr/$(CROSS_LIB_DIR) \
+       --openssldir=/usr/$(CROSS_LIB_DIR)/ssl \
        shared \
        $(call ptx/ifdef, PTXCONF_OPENSSL_CRYPTODEV, enable-devcryptoeng, 
no-devcryptoeng) \
        no-idea \
@@ -106,7 +106,7 @@ ifdef PTXCONF_OPENSSL_BIN
 endif
 
        @$(call install_alternative, openssl, 0, 0, 0644, \
-               /usr/lib/ssl/openssl.cnf)
+               /usr/$(CROSS_LIB_DIR)/ssl/openssl.cnf)
 
        @$(call install_lib, openssl, 0, 0, 0644, libssl)
        @$(call install_lib, openssl, 0, 0, 0644, libcrypto)
-- 
2.31.1


_______________________________________________
ptxdist mailing list
[email protected]
To unsubscribe, send a mail with subject "unsubscribe" to 
[email protected]

Reply via email to