Skip to content

Commit

Permalink
Merge pull request #158510 from cho-m/samba-linux
Browse files Browse the repository at this point in the history
samba: fix build on Linux
  • Loading branch information
chenrui333 authored Dec 29, 2023
2 parents 78fd5fa + 36c25a3 commit 26cf535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/s/samba.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Samba < Formula

def install
# avoid `perl module "Parse::Yapp::Driver" not found` error on macOS 10.xx (not required on 11)
if OS.mac? && MacOS.version < :big_sur
if !OS.mac? || MacOS.version < :big_sur
ENV.prepend_create_path "PERL5LIB", buildpath/"lib/perl5"
ENV.prepend_path "PATH", buildpath/"bin"
resource("Parse::Yapp").stage do
Expand Down

0 comments on commit 26cf535

Please sign in to comment.