nixpkgs-suyu/pkgs/development/libraries/wayland/0001-add-placeholder-for-nm.patch
Florian Klink ab0607e337
wayland: fix cross (#105103)
substituteInPlace stopped working, let's replace this with a patch which
is more reliable.
2020-11-27 12:09:53 +01:00

25 lines
625 B
Diff

From 378623b0e39b12bb04d3a3a1e08e64b31bd7d99d Mon Sep 17 00:00:00 2001
From: Florian Klink <flokli@flokli.de>
Date: Fri, 27 Nov 2020 10:22:20 +0100
Subject: [PATCH] add placeholder for @nm@
---
egl/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/egl/meson.build b/egl/meson.build
index dee9b1d..e477546 100644
--- a/egl/meson.build
+++ b/egl/meson.build
@@ -11,7 +11,7 @@ wayland_egl = library(
executable('wayland-egl-abi-check', 'wayland-egl-abi-check.c')
-nm_path = find_program('nm').path()
+nm_path = find_program('@nm@').path()
test(
'wayland-egl symbols check',
--
2.29.2