Skip to content

Commit

Permalink
Fix typod packages for ubuntu
Browse files Browse the repository at this point in the history
Summary: Discovered when testing ubuntu internally

Reviewed By: zpao

Differential Revision: D64981642

fbshipit-source-id: 30df778cbee1eb7d6494a5e382eb1db57574e365
  • Loading branch information
ckwalsh authored and facebook-github-bot committed Oct 25, 2024
1 parent 971b2cb commit 3d85b5b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion third-party/boost/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ boost_libs(
"lexical_cast",
"multi_index",
"preprocessor",
"program_options",
"range",
"sort",
"variant",
Expand All @@ -24,7 +25,6 @@ boost_libs(
"container",
"context",
"filesystem",
"program_options",
"random",
"regex",
"thread",
Expand Down
4 changes: 3 additions & 1 deletion third-party/boost/boost.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ def boost_library(library: str, header_only: bool):
name = "boost_{}".format(library),
packages = {
"//os:linux-fedora": ["boost-devel"],
"//os:linux-ubuntu": ["libboost-{}-dev".format(library)],
"//os:linux-ubuntu": [
"libboost-dev" if header_only else "libboost-{}-dev".format(library),
],
"//os:macos-homebrew": ["boost"],
},
exported_linker_flags = exported_linker_flags,
Expand Down
4 changes: 2 additions & 2 deletions third-party/libsodium/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ pkgconfig_system_library(
name = "sodium",
packages = {
"//os:linux-fedora": ["libsodium-devel"],
"//os:linux-ubuntu": ["libsodium"],
"//os:macos-homebrew": ["libsodium-dev"],
"//os:linux-ubuntu": ["libsodium-dev"],
"//os:macos-homebrew": ["libsodium"],
},
pkgconfig_name = "libsodium",
)

0 comments on commit 3d85b5b

Please sign in to comment.