Skip to content

Commit

Permalink
Merge pull request #1272 from dgreatwood/fallbackHttplibMacOSAndLinux
Browse files Browse the repository at this point in the history
Fix: Extended the homebrew Httplib Nofallback Workaround to Linux
  • Loading branch information
dgreatwood authored Dec 23, 2024
2 parents 9f4a8b3 + d783e9d commit ddffda8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion tests/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ gmock_dep = dependency('gmock', version: '>=1.11.0', fallback: ['gtest', 'gmock_
# dependency, in preference to using a subproject). We workaround the
# issue here by effectively doing the fallback to the cpp-httplib
# subproject without using meson dependency's "fallback:" option.
if host_machine.system() == 'darwin' and get_option('wrap_mode') == 'nofallback'
# Note: Have to do the same thing on Linux too, so "linuxbrew"
# (homebrew on Linux) works.
if (host_machine.system() == 'darwin' or host_machine.system() == 'linux') and get_option('wrap_mode') == 'nofallback'
cpp_httplib_dep = dependency('cpp-httplib', required: false)
if not cpp_httplib_dep.found()
cpp_httplib_dep = subproject('cpp-httplib').get_variable('cpp_httplib_dep')
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.25.20241217
0.4.26.20241222

0 comments on commit ddffda8

Please sign in to comment.