mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-09-06 09:04:55 +00:00
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
This commit is contained in:
parent
48d4cda9d4
commit
a09f3aaa79
|
@ -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)
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue