mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 14:59:00 +08:00
12 lines
385 B
Diff
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)
|