[Git][NTPsec/ntpsec][master] Make sure to use OpenSSL include/lib directories properly

Matt Selsky gitlab at mg.gitlab.com
Thu Apr 9 04:13:23 UTC 2020



Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
3b69c99a by Matt Selsky at 2020-04-08T13:31:03-04:00
Make sure to use OpenSSL include/lib directories properly

We need to use "SSL" to get the previously discovered build paths to OpenSSL.
Otherwise, we won't be able to build against OpenSSL installations outside of
the platform paths (/usr/lib & /usr/include, etc).

Also remove incomplete cleanup of "ctx.env.PLATFORM_INCLUDES" from commit
1700afaeda491a4d7d71ed5d545d9b73de200eae ("waf cleanup: remove PLATFORM_*")

- - - - -


1 changed file:

- wafhelpers/openssl.py


Changes:

=====================================
wafhelpers/openssl.py
=====================================
@@ -17,6 +17,6 @@ def check_SSL_version(ctx):
     ctx.check_cc(
       comment="OpenSSL support",
       fragment=SNIP_OPENSSL_VERSION_CHECK,
-      includes=ctx.env.PLATFORM_INCLUDES,
+      use="SSL",
       msg="Checking for OpenSSL > 1.1.1a",
      )



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/3b69c99a64b420d72b14db0d7356407f8c219a68

-- 
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/-/commit/3b69c99a64b420d72b14db0d7356407f8c219a68
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20200409/f500e071/attachment.htm>


More information about the vc mailing list