My use case here is having elementary_test being loaded by exactness.
That has been working fine with our autotools based build system but no
longer with meson.
Bringing fPIC and pie back as options allows exactness to dlopen the
binary and work again.
Differential Revision: https://phab.enlightenment.org/D7587
Change-Id: I1d97107f4c049bc89b80f46a4a5ac069387c956f
Signed-off-by: Stefan Schmidt <s.schmidt@samsung.com>
]
if sys_windows == false
- link_args = '-rdynamic'
+ link_args = ['-rdynamic', '-fPIC', '-pie']
+ package_c_args = package_c_args + ['-fPIC']
else
link_args = []
endif