]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
build: -fPIC and -shared are handled automatically
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 13 Sep 2021 07:57:53 +0000 (09:57 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 14 Oct 2021 15:26:25 +0000 (17:26 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
meson.build

index 6e476c3e32210c17cf1f4d209d5292ec52921606..c9f084b3c5d8470958d926cfe6e92c3b325be04a 100644 (file)
@@ -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,