<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Yes, this is intentional.<div class=""><div class=""><br class=""></div><div class="">We don't have a strategy yet for dealing with package-specific individual compilation flags like this.</div><div class=""><br class=""></div><div class="">In the meantime, you can try using a system module package instead, and manually defining OPENSSL_LOAD_CONF inside a header within the system module package before you import the actual OpenSSL headers.</div><div class=""><br class=""></div><div class=""> - Daniel</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Sep 20, 2016, at 1:35 PM, Raminder Sodhi via swift-dev <<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt"><div dir="ltr" class="">Hi,</div>
<div dir="ltr" class=""> </div>
<div dir="ltr" class="">The swift package manger seems consider the -DOPENSSL_LOAD_CONF as a non-whitelisted flag.</div>
<div dir="ltr" class="">As a result, I get</div>
<div dir="ltr" class="">nonWhitelistedFlags("Non whitelisted flags found: [\"-DOPENSSL_LOAD_CONF\"] in pc file openssl")</div>
<div dir="ltr" class=""> </div>
<div dir="ltr" class="">Is this flag supposed to be non whitelisted ?</div>
<div dir="ltr" class=""> </div>
<div dir="ltr" class="">Seems relevant to be by reading upon this:</div>
<div dir="ltr" class=""><a href="https://wiki.openssl.org/index.php/Library_Initialization#OPENSSL_config" class="">https://wiki.openssl.org/index.php/Library_Initialization#OPENSSL_config</a></div>
<div dir="ltr" class=""> </div>
<div dir="ltr" class=""> </div>
<div dir="ltr" class=""><div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt"><div dir="ltr" class=""><div style="font-size: 12pt; font-weight: bold; font-family: sans-serif; color: #7C7C5F;" class="">Raminder Sodhi</div>
<div style="font-size: 8pt; font-family: sans-serif; margin-top: 10px;" class=""><div class=""><span style="font-weight: bold; color: #336699;" class="">E-mail: </span><a href="mailto:sodramin@ca.ibm.com" style="color: #555" class="">sodramin@ca.ibm.com</a></div></div></div></div></div></div><br class="">
_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></blockquote></div><br class=""></div></div></body></html>