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

Function get_lib_name

tools/ports/sdl2_image.py:38–48  ·  view source on GitHub ↗
(settings)

Source from the content-addressed store, hash-verified

36
37
38def get_lib_name(settings):
39 formats = '-'.join(sorted(get_formats(settings)))
40
41 libname = 'libSDL2_image'
42 if formats:
43 libname += '-' + formats
44 if settings.PTHREADS:
45 libname += '-mt'
46 if settings.SUPPORT_LONGJMP == 'wasm':
47 libname += '-wasm-sjlj'
48 return libname + '.a'
49
50
51def get(ports, settings, shared):

Callers 2

getFunction · 0.70
clearFunction · 0.70

Calls 2

get_formatsFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected