2
0
mirror of git://github.com/lxc/lxc synced 2025-08-30 14:11:58 +00:00

build: add single option directly to static library

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
This commit is contained in:
Christian Brauner 2021-09-13 10:14:45 +02:00
parent 4ad3a929d9
commit 1531f8d53d
No known key found for this signature in database
GPG Key ID: 8EB056D53EECB12D

View File

@ -122,12 +122,10 @@ liblxc_sources = files(
'uuid.c', 'uuid.c',
'uuid.h') 'uuid.h')
liblxc_c_args = ['-fvisibility=default']
liblxc_static = static_library( liblxc_static = static_library(
'lxc_static', 'lxc_static',
liblxc_sources + include_sources, liblxc_sources + include_sources,
install : false, install : false,
include_directories : liblxc_includes, include_directories : liblxc_includes,
dependencies : [threads], dependencies : [threads],
c_args : liblxc_c_args) c_args : '-fvisibility=default')