mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-23 17:23:51 +08:00
enable --as-needed linking (#20619)
* only link as needed * a few more * need to fix order * everywhre * fix mac * update spinner + text * fix c2 build * another fix Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
@@ -2,9 +2,10 @@ Import('env', 'arch', 'cereal', 'messaging', 'common', 'visionipc', 'gpucommon')
|
||||
|
||||
|
||||
logger_lib = env.Library('logger', ["logger.cc"])
|
||||
libs = [logger_lib, 'zmq', 'capnp', 'kj', 'z',
|
||||
libs = [logger_lib, common, cereal, messaging, visionipc,
|
||||
'zmq', 'capnp', 'kj', 'z',
|
||||
'avformat', 'avcodec', 'swscale', 'avutil',
|
||||
'yuv', 'bz2', 'OpenCL', common, cereal, messaging, visionipc]
|
||||
'yuv', 'bz2', 'OpenCL']
|
||||
|
||||
src = ['loggerd.cc']
|
||||
if arch in ["aarch64", "larch64"]:
|
||||
|
||||
Reference in New Issue
Block a user