Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22230

how to compile openssl with fvisibility=hidden flag for iOS

$
0
0

I need to compile the openssl code with -fvisibility=hidden to hide the large number of symbols and then use in Xcode. Using below GitHub link.. I'm able get the libssl.a and libcrypto.a but there is no option I can see the build-libssl.sh (shell script) to add option "-fvisibility=hidden".

https://github.com/x2on/OpenSSL-for-iPhone/blob/master/build-libssl.sh

I did try adding "-fvisibility=hidden" in "Other C Flags" in Build Settings in Xcode but does not seem to work. Hence please suggest for this issue.


Viewing all articles
Browse latest Browse all 22230

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>