Hi there!

Recently, I successfully ported some old code of mine using emscripten. The 
code relied on libgd with libjpeg and libpng (which requires zlib) support, 
so I had to compile and link all of that in. I didn't understand how to use 
emscripten ports with libraries, so I decided to do it all from scratch.

This ended up being kind of a mess, because emconfigure seems to override 
some important variables, like PKG_CONFIG_LIBDIR. I had expected to just 
build each lib and install the artifacts into a prefix for linking later, 
but this didn't work directly. You can find my compile script (in the form 
of a Dockerfile) at 
https://github.com/allanlw/fractal-web/blob/master/Dockerfile and you will 
see that it is quite messy, and calls bash inside of emconfigure to re-set 
important environment variables.

I couldn't find much documentation about emconfigure. Is there a cleaner 
way to do this?

Thanks,
Allan 

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to