From: Christian Brauner Date: Mon, 13 Sep 2021 07:57:53 +0000 (+0200) Subject: build: -fPIC and -shared are handled automatically X-Git-Tag: lxc-5.0.0~92^2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=305490ba8e290eb892667afb85c425a4a7693d8f;p=thirdparty%2Flxc.git build: -fPIC and -shared are handled automatically Signed-off-by: Christian Brauner --- diff --git a/meson.build b/meson.build index 6e476c3e3..c9f084b3c 100644 --- a/meson.build +++ b/meson.build @@ -316,7 +316,8 @@ liblxc = shared_library( 'lxc', version : liblxc_version, include_directories : tools_liblxc_includes, - link_args : ['-shared', '-fPIC', '-DPIC'], + link_args : ['-DPIC'], + c_args : ['-DPIC'], link_whole : [liblxc_static], dependencies : [threads, libseccomp,