Skip to content

Commit a47d3c7

Browse files
sazonovkirillmeta-codesync[bot]
authored andcommitted
Build thrift open source build on mac
Summary: `openssl@1.1` is no longer included in Homebrew, in favor of `opennssl@3`. Reviewed By: iahs Differential Revision: D100210666 fbshipit-source-id: eb871b11b4f7a5e85eb6ae7cce57f9627ac115e3
1 parent b5dd359 commit a47d3c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build/fbcode_builder/getdeps/buildopts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ def compute_env_for_install_dirs(
312312
# pyre-fixme[6]: For 1st argument expected
313313
# `Union[PathLike[bytes], PathLike[str], bytes, int, str]` but got
314314
# `Optional[str]`.
315-
if os.path.exists(candidate):
315+
if candidate and os.path.exists(candidate):
316316
# pyre-fixme[6]: For 2nd argument expected `str` but got
317317
# `Optional[str]`.
318318
os.environ["OPENSSL_ROOT_DIR"] = candidate

0 commit comments

Comments
 (0)