Warning, /graphics/krita/3rdparty/ext_ffmpeg/0001-meson-Fix-library-detection-in-prefixed-builds.patch is written in an unsupported language. File is not indexed.
0001 From 6df3e16836d91d2befaf4a6405038b6a17f78b9e Mon Sep 17 00:00:00 2001 0002 From: "L. E. Segovia" <amy@amyspark.me> 0003 Date: Thu, 24 Nov 2022 12:47:22 -0300 0004 Subject: [PATCH] meson: Fix library detection in prefixed builds 0005 0006 --- 0007 meson.build | 2 +- 0008 1 file changed, 1 insertion(+), 1 deletion(-) 0009 0010 diff --git a/meson.build b/meson.build 0011 index f812bb1f70..71c2ce7034 100644 0012 --- a/meson.build 0013 +++ b/meson.build 0014 @@ -1643,7 +1643,7 @@ foreach check : all_checks 0015 else 0016 req = false 0017 endif 0018 - dep = cc.find_library(link_with, required : req) 0019 + dep = cc.find_library(link_with, required : req, dirs: [join_paths(get_option('prefix'), get_option('libdir'))]) 0020 found = found and dep.found() 0021 extra_deps += dep 0022 endforeach 0023 -- 0024 2.37.1.windows.1 0025