mirror of
https://gitlab.freedesktop.org/libinput/libei.git
synced 2026-02-04 09:30:27 +01:00
test: fix the LD_LIBRARY_PATH to liboeffis
Make this dependent on liboeffis directly instead of hardcoding where it should be.
This commit is contained in:
parent
a2e60be0e6
commit
367fa6384f
2 changed files with 2 additions and 1 deletions
|
|
@ -5,6 +5,7 @@ project('libei', 'c',
|
|||
meson_version: '>= 0.57.0')
|
||||
|
||||
pkgconfig = import('pkgconfig')
|
||||
fs = import('fs')
|
||||
|
||||
cc = meson.get_compiler('c')
|
||||
cflags =[
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ if build_oeffis
|
|||
dependencies: deps_liboeffis + [dep_unittest]))
|
||||
|
||||
env = environment()
|
||||
env.set('LD_LIBRARY_PATH', meson.project_build_root())
|
||||
env.set('LD_LIBRARY_PATH', fs.parent(lib_liboeffis.full_path()))
|
||||
pymod = import('python')
|
||||
pymod.find_installation('python3', modules: ['pytest', 'attr', 'dbusmock'])
|
||||
pytest = find_program('pytest-3', 'pytest')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue