vcpkg/ports/cairo/meson-fix-bfd.patch
Alexey Sokolov 590beeb84b
[cairo] fix accidental dependency on system libbfd (#23022)
* [cairo] fix accidental dependency on system libbfd

* [cairo] update port version for previous commit
2022-02-17 17:16:45 -08:00

12 lines
385 B
Diff

--- a/meson.build
+++ b/meson.build
@@ -656,7 +656,7 @@ endif
# Untested, libiberty.h is in a libiberty subfolder for me
# FIXME: automagic
-bfd_dep = cc.find_library('bfd', required: false)
+bfd_dep = cc.find_library('', required: false)
if bfd_dep.found() and cc.has_function('bfd_openr', dependencies: [bfd_dep])
if cc.has_header('libiberty.h')
conf.set('HAVE_BFD', 1)