Google Chrome Extension using NaCL with an external library

前端 未结 2 1696
栀梦
栀梦 2021-01-15 11:34

I\'m developing a Google Chrome extension using the NaCL. It\'s pretty cool and easy to use, but I have a doubt.

My extension needs the GPGME (GnuPG Made Easy), so I

2条回答
  •  独厮守ぢ
    2021-01-15 12:00

    You need to port libgpgme to NaCl first. I.e. libgpgme should be compiled by NaCl compiler not a Linux compiler.

    GPGME uses configure. So porting usually done by passing wrapping scripts as compiler. These scripts replace NaCl programs produced by NaCl compiler with a script that invokes them via sel_ldr. This way configure can run compiled NaCl programs as normal Linux ones.

提交回复
热议问题