Blob Blame History Raw
From cfc1c5d2023a90817b008564f8bda6bcf1140e04 Mon Sep 17 00:00:00 2001
From: pancake <pancake@nopcode.org>
Date: Mon, 21 Feb 2022 19:32:51 +0100
Subject: [PATCH] Fix #19726 - fix meson definition order issue when using
 syslz4 ##build

---
 libr/util/meson.build | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/libr/util/meson.build b/libr/util/meson.build
index f2613e5c03b..745fe2fc897 100644
--- a/libr/util/meson.build
+++ b/libr/util/meson.build
@@ -96,6 +96,7 @@ if get_option('sdb_cgen')
   r_util_sources += r_util_d_sources
 endif
 
+r_util_deps = [ldl, mth, spp_dep, pth, utl, sdb_dep, zlib_dep, platform_deps]
 if lz4_dep.found() and get_option('use_sys_lz4')
   # r_util_deps += lz4_dep
   r_util_deps += declare_dependency(
@@ -105,8 +106,6 @@ if lz4_dep.found() and get_option('use_sys_lz4')
 else
   r_util_sources += '../../shlr/lz4/lz4.c'
 endif
-
-r_util_deps = [ldl, mth, spp_dep, pth, utl, sdb_dep, zlib_dep, platform_deps]
 if host_machine.system().startswith('freebsd') or host_machine.system().startswith('netbsd') or host_machine.system().startswith('haiku')
   # backtrace_symbols_fd requires -lexecinfo
   r_util_deps += [cc.find_library('execinfo')]