mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-09-06 22:01:27 +00:00
shim: Build lsi-steam or not at all, depending on meson options
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
+17
-13
@@ -1,15 +1,19 @@
|
||||
# TODO: Expose this as an option!
|
||||
shim_target_name = 'steam'
|
||||
if shim_behaviour == 'replacement'
|
||||
shim_target_name = 'steam'
|
||||
else
|
||||
shim_target_name = 'lsi-steam'
|
||||
endif
|
||||
|
||||
shim_sources = [
|
||||
'lsi.c',
|
||||
'shim.c',
|
||||
]
|
||||
|
||||
main_intercept = executable(
|
||||
shim_target_name,
|
||||
sources: shim_sources + nica_sources,
|
||||
include_directories: nica_includes,
|
||||
install: true,
|
||||
)
|
||||
if shim_behaviour != 'none'
|
||||
shim_sources = [
|
||||
'lsi.c',
|
||||
'shim.c',
|
||||
]
|
||||
|
||||
shim = executable(
|
||||
shim_target_name,
|
||||
sources: shim_sources + nica_sources,
|
||||
include_directories: nica_includes,
|
||||
install: true,
|
||||
)
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user