aboutsummaryrefslogtreecommitdiff
path: root/emlink.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-07-01 11:31:15 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-03 15:31:04 -0700
commit461478fbb7199a6a557b754271a9d7e69172765f (patch)
tree8d41a98331b06579190c1cbf5cf7fa5c175f9888 /emlink.py
parent5b27fcf2088abd85fbca78f9067806227772dbba (diff)
testing for using libc in a side module, and forcing inclusion of libc making it work
Diffstat (limited to 'emlink.py')
-rw-r--r--emlink.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/emlink.py b/emlink.py
index fd9c45af..192285cd 100644
--- a/emlink.py
+++ b/emlink.py
@@ -28,7 +28,9 @@ Limitations:
EMCC_FORCE_STDLIBS=1 emcc ..
- which will link in all the C libraries.
+ which will link in all the libraries (you can also do EMCC_FORCE_STDLIBS=libc for example to
+ include just libc and its dependencies; run with EMCC_DEBUG=1 to see which are necessary and
+ include the first one).
Overall, this linking approach should be fast to perform, but generate less-optimal results than
to link all the bitcode together and build to JS as a single project. Final builds should be