From a09f3aaa793a8fd1a0b320e314b6d244920266f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?I=C3=B1igo=20Mart=C3=ADnez?= Date: Thu, 14 Dec 2017 17:03:32 +0100 Subject: [PATCH] build: fix libnm_linking test The `libnm_linking` test that belongs to the libnm-util's general tests is failing because the test is not able to find the `test-libnm-linking` binary, which is executed as a child process. The problem lies to the `BUILD_DIR` macro definition which is used to set the place to find the binary, and is wrongly defined with the source directory. This patch changes its value to the build directory that fixes the problem. https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00049.html --- libnm-util/tests/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnm-util/tests/meson.build b/libnm-util/tests/meson.build index 387b0db92..8a05bc88c 100644 --- a/libnm-util/tests/meson.build +++ b/libnm-util/tests/meson.build @@ -11,7 +11,7 @@ deps = [ ] cflags = [ - '-DBUILD_DIR="@0@"'.format(meson.current_source_dir()), + '-DBUILD_DIR="@0@"'.format(meson.current_build_dir()), '-DTEST_CERT_DIR="@0@"'.format(test_cert_dir) ]