Tony Huang
Tony Huang

Reputation: 163

using openssl in my windows and mac share library

I am writing both a software to have windows and mac version. The program need ssl socket communication. How I can create a openssl shared library between mac and windows. And make the program can run in a machine which doesn't have openssl install on it

Upvotes: 0

Views: 165

Answers (1)

ciphor
ciphor

Reputation: 8288

You need to compile openssl library both on Mac and Windows, and link the static library (.lib for Windows and .a for Mac) into your executable respectively.

Upvotes: 1

Related Questions