Skip to content

Commit

Permalink
add pthread dependency for resolve std::system_error error in proto…
Browse files Browse the repository at this point in the history
…buf.

$ yanet-cli balancer real any
terminate called after throwing an instance of 'std::system_error'
  what():  Unknown error -1
Aborted
  • Loading branch information
Timur Aitov authored and taitov committed Sep 18, 2023
1 parent d4baa3c commit 0d40d5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cli/meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dependencies = []
dependencies += libyanet_protobuf_dep
dependencies += dependency('threads')

sources = files('src/config.cpp',
'src/main.cpp')
Expand Down
1 change: 1 addition & 0 deletions common/proto/meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dependencies = []
dependencies += dependency('protobuf', static: true)
dependencies += dependency('threads')

proto_sources = ['meta.proto',
'controlplane.proto']
Expand Down

0 comments on commit 0d40d5b

Please sign in to comment.