From 1531f8d53df57dc8d1a6604fef593b4d65ec90ec Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Mon, 13 Sep 2021 10:14:45 +0200 Subject: [PATCH] build: add single option directly to static library Signed-off-by: Christian Brauner --- src/lxc/meson.build | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lxc/meson.build b/src/lxc/meson.build index faf3a939e..756dd22c5 100644 --- a/src/lxc/meson.build +++ b/src/lxc/meson.build @@ -122,12 +122,10 @@ liblxc_sources = files( 'uuid.c', 'uuid.h') -liblxc_c_args = ['-fvisibility=default'] - liblxc_static = static_library( 'lxc_static', liblxc_sources + include_sources, install : false, include_directories : liblxc_includes, dependencies : [threads], - c_args : liblxc_c_args) + c_args : '-fvisibility=default')