Compiling v8js extension after V8 was built with gn build (as opposed to gyp)
<p>Google has decided to deprecate gyp builds of V8. The recommended method is to build with gn.</p>

<p>However, PHP extension v8js fails to find required libraries and exits with:</p>

<pre><code>checking for V8 Javascript Engine... yes, shared
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for C standard version... c++11
checking how to allow c++11 narrowing... -Wno-narrowing
checking for V8 version... NONE
configure: error: could not determine libv8 version
</code></pre>

<p>What needs to be done to compile PHP v8js extension after V8 is compiled with gn?</p>

<p>Thanks!</p>