Add custom library to electron (libchromiumcontent)


#1

Hi,
I need to add a custom library to libchromiumcontent.
the libchromiumcontent is built without problems, but, when I have to build electron I have a problem about symbols not found, for example

  [10/23] SOLINK "Electron Framework.framework/Versions/A/Electron Framework", POSTBUILDS
FAILED: ../../vendor/llvm-build/Release+Asserts/bin/clang++ -shared -ObjC -stdlib=libc++ -Wl,-dead_strip -mmacosx-version-min=10.9 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -arch x86_64 -L./ -install_name @rpath/Electron\ Framework.framework/Electron\ Framework -Wl,-rpath,@loader_path/Libraries -F/Users/angelomantellini/electron/external_binaries -stdlib=libc++ -o "Electron Framework.framework/Versions/A/Electron Framework" @Electron_Framework.framework.rsp
Undefined symbols for architecture x86_64:
  "hicnet::transport::RTCProducerSocket::RTCProducerSocket(asio::io_context&)", referenced from:
      cricket::VideoChannel::StartHicnProducerSocket() in libwebrtc.a(channel.o)

could you tell me how I solve this issue?
Thank you very much
Angelo