summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/twisted/tools/exec-with-log.sh.in6
-rw-r--r--tests/twisted/tools/meson.build1
2 files changed, 6 insertions, 1 deletions
diff --git a/tests/twisted/tools/exec-with-log.sh.in b/tests/twisted/tools/exec-with-log.sh.in
index 3538044..0c82bd8 100755
--- a/tests/twisted/tools/exec-with-log.sh.in
+++ b/tests/twisted/tools/exec-with-log.sh.in
@@ -26,4 +26,8 @@ elif test -n "$IDLE_TEST_REFDBG"; then
fi
export G_DEBUG=fatal-warnings" ${G_DEBUG}"
-exec @abs_top_builddir@/libtool --mode=execute $IDLE_WRAPPER @abs_top_builddir@/src/telepathy-idle
+if test x"@omit_libtool@" = "xyes"; then
+ exec $IDLE_WRAPPER @abs_top_builddir@/src/telepathy-idle
+else
+ exec @abs_top_builddir@/libtool --mode=execute $IDLE_WRAPPER @abs_top_builddir@/src/telepathy-idle
+fi
diff --git a/tests/twisted/tools/meson.build b/tests/twisted/tools/meson.build
index c3d28b6..fe3a825 100644
--- a/tests/twisted/tools/meson.build
+++ b/tests/twisted/tools/meson.build
@@ -1,6 +1,7 @@
ewl_conf = configuration_data()
ewl_conf.set('abs_top_builddir', abs_top_builddir)
ewl_conf.set('abs_top_srcdir', abs_top_srcdir)
+ewl_conf.set('omit_libtool', 'yes')
configure_file(
input: 'exec-with-log.sh.in',