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.
This commit is contained in:
Stefan Schmidt 2020-06-03 09:18:02 +02:00
parent 0b4f42fab6
commit e936d9b4ac
1 changed files with 0 additions and 14 deletions

View File

@ -169,11 +169,9 @@ elementary_test_src = [
if sys_windows == false
link_args = ['-rdynamic', '-fPIC', '-pie']
link_args_lib = ['-rdynamic', '-fPIC']
package_c_args = package_c_args + ['-fPIC']
else
link_args = []
link_args_lib = []
endif
elementary_test = executable('elementary_test',
elementary_test_src,
@ -187,18 +185,6 @@ elementary_test = executable('elementary_test',
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 = [
'config.c'
]