scons: delete SHARED flag (#29906)

Delete SHARED
old-commit-hash: fb804c9529
This commit is contained in:
Kacper Rączy
2023-09-13 14:39:06 -07:00
committed by GitHub
parent b43ea8de7b
commit 38a4c4bad7
2 changed files with 19 additions and 44 deletions

View File

@@ -1,9 +1,4 @@
Import('env', 'envCython', 'arch', 'SHARED')
if SHARED:
fxn = env.SharedLibrary
else:
fxn = env.Library
Import('env', 'envCython', 'arch')
common_libs = [
'params.cc',
@@ -18,13 +13,13 @@ common_libs = [
if arch != "Darwin":
common_libs.append('gpio.cc')
_common = fxn('common', common_libs, LIBS="json11")
_common = env.Library('common', common_libs, LIBS="json11")
files = [
'clutil.cc',
]
_gpucommon = fxn('gpucommon', files)
_gpucommon = env.Library('gpucommon', files)
Export('_common', '_gpucommon')
if GetOption('extras'):