diff options
Diffstat (limited to 'vcpkg/ports/openh264/001-add-bsds-to-meson.patch')
| -rw-r--r-- | vcpkg/ports/openh264/001-add-bsds-to-meson.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/openh264/001-add-bsds-to-meson.patch b/vcpkg/ports/openh264/001-add-bsds-to-meson.patch new file mode 100644 index 0000000..cc1d2ff --- /dev/null +++ b/vcpkg/ports/openh264/001-add-bsds-to-meson.patch @@ -0,0 +1,22 @@ +diff --git a/meson.build b/meson.build +index 573f6c6..b9519b3 100644 +--- a/meson.build ++++ b/meson.build +@@ -57,7 +57,7 @@ cpp_lib = '-lstdc++' + libm_dep = cpp.find_library('m', required : false) + deps += [libm_dep] + +-if ['linux', 'android', 'ios', 'darwin'].contains(system) ++if ['linux', 'android', 'ios', 'darwin', 'freebsd', 'netbsd', 'openbsd'].contains(system) + asm_format32 = 'elf' + asm_format64 = 'elf64' + if ['ios', 'darwin'].contains(system) +@@ -109,7 +109,7 @@ if ['linux', 'android', 'ios', 'darwin'].contains(system) + error('FIXME: unhandled CPU family @0@ for @1@'.format(cpu_family, system)) + endif + +- if ['ios', 'darwin', 'android'].contains(system) ++ if ['ios', 'darwin', 'android', 'freebsd', 'openbsd'].contains(system) + cpp_lib = '-lc++' + endif + elif system == 'windows' |