Thanks for your answer. Using emcmake helped a lot. It found many of the 
things it was looking for.

Now it has compiled libzip into an so containing bytecode, but I had to 
hack libzip a little to get it to work: 

Libzip looks for SIZEOF_OFF_T to set some of it's parameters: ZIP_OFF_MAX 
and SIZE_MAX. Even though cmake successfully runs through the check to find 
SIZEOF_OFF_T, it isn't set to an acceptable value for libzip, The compile 
fails with "#error unsupported size of off_t" in zipint.h. 
I commented that line and replace it with the lowest possible values for 
the parameters, I have no way of testing the libzip yet so I'll have to see 
if this works latter.

Please let me know if you have another solution :)

Thanks,
Ian

-- 
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