MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / build_dlfcn_lib

Method build_dlfcn_lib

test/test_core.py:2909–2915  ·  view source on GitHub ↗
(self, filename, outfile='libside.so', cflags=None)

Source from the content-addressed store, hash-verified

2907 self.set_setting('MAIN_MODULE', 2)
2908
2909 def build_dlfcn_lib(self, filename, outfile='libside.so', cflags=None):
2910 self.clear_setting('MAIN_MODULE')
2911 self.set_setting('SIDE_MODULE')
2912 cmd = [compiler_for(filename), filename, '-o', outfile] + self.get_cflags()
2913 if cflags:
2914 cmd += cflags
2915 self.run_process(cmd)
2916
2917 @needs_dylink
2918 @no_js_math('JS_MATH is not compatible with MAIN_MODULE=1')

Callers 15

test_dlfcn_basicMethod · 0.95
test_dlfcn_i64Method · 0.95
test_dlfcn_em_asmMethod · 0.95
test_dlfcn_qsortMethod · 0.95
test_dlfcn_varargsMethod · 0.95
test_dlfcn_unique_sigMethod · 0.95
test_dlfcn_infoMethod · 0.95
test_dlfcn_stacksMethod · 0.95
test_dlfcn_funcsMethod · 0.95
test_dlfcn_longjmpMethod · 0.95

Calls 5

compiler_forFunction · 0.90
clear_settingMethod · 0.80
set_settingMethod · 0.80
run_processMethod · 0.80
get_cflagsMethod · 0.45

Tested by

no test coverage detected