Library confliction between extensions


#1

I have two extension that use libcrypto.a and libssl.a in android and ios.
I put this two library file in both of the two extensions.
When build, It throw an error:
image
How can I solve this?


#2

In my case I have an extension that use libcurl.a, libcurl.a use libcrypto.a and libssl.a, but libcrypto.a and libssl.a is located in another extension.


#3

Well, there’s no easy way to solve this currently.
But, in the ticket DEF-3348, we’ll add support for including C/C++ headers from other extensions.
Which means, then, you can move libcrypto/libssl to another separate extension, and have those two other extensions depend on that.