Closed dbkr closed 6 years ago
Hi! Can you please let me know how I can simply reproduce this issue?
I've tested
emcc main.cpp -s EXPORTED_FUNCTIONS=['_a']
on
#include <iostream>
int main() {
std::cout << "asdAS\n";
return 1;
}
int a() {
return 2;
}
And it worked just fine (emscripten-slim:latest)
Ah, sorry - it's part of our Makefile that I hadn't noticed, it's not part of emscripten itself. Thanks for checking!
I'm attempting to build an emscripten-based project that uses the
-s EXPORTED_FUNCTIONS
option to emcc but it fails with:It looks like adding
libjson-perl
to the list of installed apt packages is necessary to use the-s EXPORTED_FUNCTIONS
option?