mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-23 05:09:43 +00:00
Fix qjs symbols visibility ##build
This commit is contained in:
parent
19cc4f821b
commit
c3f95c2621
@ -13,7 +13,7 @@ r_lang_sources += '../../shlr/qjs/src/libunicode.c'
|
||||
|
||||
r_lang = library('r_lang', r_lang_sources,
|
||||
include_directories: [platform_inc, spp_inc, qjs_inc],
|
||||
c_args: library_cflags,
|
||||
c_args: library_cflags + '-fvisibility=hidden',
|
||||
dependencies: [
|
||||
r_util_dep,
|
||||
r_io_dep,
|
||||
@ -35,7 +35,7 @@ r_lang_dep = declare_dependency(link_with: r_lang, include_directories: [platfor
|
||||
if get_option('blob')
|
||||
r_lang_static = static_library('r_lang_static', r_lang_sources,
|
||||
include_directories: [platform_inc, spp_inc, qjs_inc],
|
||||
c_args: library_cflags,
|
||||
c_args: library_cflags + '-fvisibility=hidden',
|
||||
dependencies: [
|
||||
r_util_static_dep,
|
||||
r_asm_static_dep,
|
||||
|
@ -27,6 +27,7 @@ QJS_CFLAGS+=-D QJS_LIBC=$(QJS_LIBC)
|
||||
QJS_CFLAGS+=-D QJS_NOABORT=1
|
||||
QJS_CFLAGS+=-U DUMP_LEAKS
|
||||
QJS_CFLAGS+=-U NDEBUG
|
||||
QJS_CFLAGS+=-fvisibility=hidden
|
||||
|
||||
QJS_LIBS+=-lr_core -lr_config -lr_cons
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user