diff options
author | Iñigo Martínez <inigomartinez@gmail.com> | 2017-12-14 17:03:32 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2017-12-14 20:07:16 +0100 |
commit | a09f3aaa793a8fd1a0b320e314b6d244920266f5 (patch) | |
tree | 891a783114ce88a47479dec00d00bb975a2433b0 /libnm-util | |
parent | 48d4cda9d498b7e04a76d7ca78e589f206334a47 (diff) | |
download | NetworkManager-a09f3aaa793a8fd1a0b320e314b6d244920266f5.tar.gz |
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
Diffstat (limited to 'libnm-util')
-rw-r--r-- | libnm-util/tests/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnm-util/tests/meson.build b/libnm-util/tests/meson.build index 387b0db922..8a05bc88c5 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) ] |