mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-06 07:37:21 +02:00
common: create another lib tailored for the client
Use a small subset of the existing common files to create another static library to be used from the client library.
This commit is contained in:
parent
a6552044cd
commit
cd6c2ee612
@ -19,3 +19,18 @@ link_daemon_common = declare_dependency(
|
||||
link_with: daemon_common,
|
||||
include_directories: [include_directories('.')]
|
||||
)
|
||||
|
||||
lib_common = static_library(
|
||||
'lib-common',
|
||||
sources: [
|
||||
'common-helpers.c',
|
||||
'common-pidfds.c'
|
||||
],
|
||||
install: false,
|
||||
include_directories: [config_h_dir]
|
||||
)
|
||||
|
||||
link_lib_common = declare_dependency(
|
||||
link_with: lib_common,
|
||||
include_directories: [include_directories('.')]
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user