mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
spawn-multithreaded: Also look for lt-test-echo
I hate libtool =( https://bugzilla.gnome.org/show_bug.cgi?id=652072
This commit is contained in:
parent
b6a829c314
commit
01ee9449e3
@ -220,6 +220,11 @@ main (int argc,
|
|||||||
|
|
||||||
dirname = g_path_get_dirname (argv[0]);
|
dirname = g_path_get_dirname (argv[0]);
|
||||||
echo_prog_path = g_build_filename (dirname, "test-spawn-echo", NULL);
|
echo_prog_path = g_build_filename (dirname, "test-spawn-echo", NULL);
|
||||||
|
if (!g_file_test (echo_prog_path, G_FILE_TEST_EXISTS))
|
||||||
|
{
|
||||||
|
g_free (echo_prog_path);
|
||||||
|
echo_prog_path = g_build_filename (dirname, "lt-test-spawn-echo", NULL);
|
||||||
|
}
|
||||||
g_free (dirname);
|
g_free (dirname);
|
||||||
|
|
||||||
g_assert (g_file_test (echo_prog_path, G_FILE_TEST_EXISTS));
|
g_assert (g_file_test (echo_prog_path, G_FILE_TEST_EXISTS));
|
||||||
|
Loading…
Reference in New Issue
Block a user