Revert "elementary: build elementary_test additionally as shared object"
We now longer need this workaround. Exactness is now pre-loaded and we
can run it with any executable without this trick. Remove to simplify
our build.
This reverts commit 78ad088dd7
.
Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de>
Differential Revision: https://phab.enlightenment.org/D11919
This commit is contained in:
parent
0b4f42fab6
commit
338a529af1
|
@ -169,11 +169,9 @@ elementary_test_src = [
|
||||||
|
|
||||||
if sys_windows == false
|
if sys_windows == false
|
||||||
link_args = ['-rdynamic', '-fPIC', '-pie']
|
link_args = ['-rdynamic', '-fPIC', '-pie']
|
||||||
link_args_lib = ['-rdynamic', '-fPIC']
|
|
||||||
package_c_args = package_c_args + ['-fPIC']
|
package_c_args = package_c_args + ['-fPIC']
|
||||||
else
|
else
|
||||||
link_args = []
|
link_args = []
|
||||||
link_args_lib = []
|
|
||||||
endif
|
endif
|
||||||
elementary_test = executable('elementary_test',
|
elementary_test = executable('elementary_test',
|
||||||
elementary_test_src,
|
elementary_test_src,
|
||||||
|
@ -187,18 +185,6 @@ elementary_test = executable('elementary_test',
|
||||||
link_args: link_args
|
link_args: link_args
|
||||||
)
|
)
|
||||||
|
|
||||||
library('elementary_test',
|
|
||||||
elementary_test_src,
|
|
||||||
dependencies: [elementary, intl] + elementary_deps + elementary_pub_deps,
|
|
||||||
install: false,
|
|
||||||
c_args : package_c_args + [
|
|
||||||
'-Delementary_test_BIN_DIR="'+dir_bin+'"',
|
|
||||||
'-Delementary_test_LIB_DIR="'+dir_lib+'"',
|
|
||||||
'-Delementary_test_DATA_DIR="'+join_paths(dir_data,'elementary')+'"'
|
|
||||||
],
|
|
||||||
link_args: link_args_lib
|
|
||||||
)
|
|
||||||
|
|
||||||
elementary_config_src = [
|
elementary_config_src = [
|
||||||
'config.c'
|
'config.c'
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue