gnome-podcasts: 0.7.1 -> 0.7.2 (#373846)
[NixPkgs.git] / pkgs / by-name / li / librist / no-brew-darwin.diff
blobdce4a5c4c6289e4361e953d7521bca1cfcaf8925
1 diff --git a/meson.build b/meson.build
2 index 05d00b3..b923958 100755
3 --- a/meson.build
4 +++ b/meson.build
5 @@ -39,7 +39,8 @@ deps = []
6 platform_files = []
7 inc = []
8 inc += include_directories('.', 'src', 'include/librist', 'include', 'contrib')
9 -if (host_machine.system() == 'darwin')
10 +if (host_machine.system() == 'darwin'
11 + and find_program('brew', required : false).found())
12 r = run_command('brew', '--prefix', check: true)
13 brewoutput = r.stdout().strip()
14 inc += include_directories(brewoutput + '/include')