build: set LD_LIBRARY_PATH along with GI_TYPELIB_PATH when launching stub

Otherwise we may use a wrong typelib shared library (the one that
is installed on the system which run the test)

Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
This commit is contained in:
Frederic Martinsons
2023-01-01 07:51:32 +01:00
committed by Frédéric Martinsons
parent aa28fc7a9e
commit 99570090ea

View File

@@ -2,4 +2,4 @@
# For debugging behavior of test-modemmanager-service.py, you can modify
# this line to add --log-file option
GI_TYPELIB_PATH=@abs_top_builddir@/libmm-glib @abs_top_srcdir@/tools/test-modemmanager-service.py
LD_LIBRARY_PATH=@abs_top_builddir@/libmm-glib GI_TYPELIB_PATH=@abs_top_builddir@/libmm-glib @abs_top_srcdir@/tools/test-modemmanager-service.py