Thanks for the replies.

I perfectly understand the issue with shared libraries. Is it a strict rule for PECL to avoid them? The Wasm runtime is written in Rust, and PECL doesn't support the Rust toolchain. The solution proposed by Thomas Hruska to rewrite the runtime in C or C++ is absolutely out of the question :-). To facilitate the user lifes, I've decided to embed the shared libraries; I can build one per architecture if necessary, or throw an error telling Rust is required when a specific architecture isn't supported.

My problem so far is that PECL failed to compile against the shared library. Am I doing something wrong in the `config.m4` file?

Thanks.

On 23.08.19 10:39, Remi Collet wrote:
Le 23/08/2019 à 10:09, Ivan Enderlin a écrit :

Also, why publishing a `.so` and a `.dylib` files aren't acceptable?
Because perhaps it will work for some users which use the same distro
than the one used to generate it, but won't work for others.

Especially for various arch (arm, i386, ppc, ...)

IMHO: A pecl archive is a "sources" archives, so should only contains
sources.


Remi



--
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to