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 0859626 commit 29a3725
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion shim/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 shim/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 shim/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 29a3725

Please sign in to comment.