Meson: link elementary_test with rdynamic

Summary:
This is needed to let dlsym extract the efl_main/main... symbols. For
example, the Exactness player needs it to launch a given binary. If
this option is not provided during the linkage of the binary, the
player won't be able to run it.

Test Plan: exactness_play -t <path to exactness scenarios>/radio.rec -- elementary_test -to radio

Reviewers: bu5hm4n

Reviewed By: bu5hm4n

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D7178
This commit is contained in:
Daniel Zaoui 2018-10-21 09:37:12 +03:00 committed by Daniel Zaoui
parent 7baac6a556
commit 2d2055edd7
1 changed files with 7 additions and 1 deletions

View File

@ -163,7 +163,8 @@ elementary_test = executable('elementary_test',
'-Delementary_test_BIN_DIR="'+dir_bin+'"',
'-Delementary_test_LIB_DIR="'+dir_lib+'"',
'-Delementary_test_DATA_DIR="'+join_paths(dir_data,'elementary')+'"'
]
],
link_args: '-rdynamic'
)
elementary_config_src = [
@ -175,6 +176,7 @@ elementary_config = executable('elementary_config',
dependencies: [elementary] + elementary_deps + elementary_pub_deps,
install: true,
c_args : package_c_args,
link_args: '-rdynamic'
)
elementary_quicklaunch_src = [
@ -186,6 +188,7 @@ elementary_quicklaunch = executable('elementary_quicklaunch',
dependencies: [elementary] + elementary_deps + elementary_pub_deps,
install: true,
c_args : package_c_args,
link_args: '-rdynamic'
)
elementary_codegen_src = [
@ -197,6 +200,7 @@ elementary_codegen = executable('elementary_codegen',
dependencies: [elementary] + elementary_deps + elementary_pub_deps,
install: true,
c_args : package_c_args,
link_args: '-rdynamic'
)
elm_prefs_cc_src = [
@ -214,6 +218,7 @@ elm_prefs_cc = executable('elm_prefs_cc',
dependencies: [elementary] + elementary_deps + elementary_pub_deps,
install: true,
c_args : package_c_args,
link_args: '-rdynamic'
)
elementary_run_src = [
@ -225,4 +230,5 @@ elementary_run = executable('elementary_run',
dependencies: [elementary] + elementary_deps + elementary_pub_deps,
install: true,
c_args : package_c_args,
link_args: '-rdynamic'
)