diff --git a/test_regress/t/t_flag_ldflags.pl b/test_regress/t/t_flag_ldflags.pl index 8f5aa89582..33d73877b1 100755 --- a/test_regress/t/t_flag_ldflags.pl +++ b/test_regress/t/t_flag_ldflags.pl @@ -45,7 +45,7 @@ execute( check_finished => 1, - run_env => "LD_LIBRARY_PATH=$Self->{obj_dir}", + run_env => "LD_LIBRARY_PATH=$Self->{obj_dir}:$ENV{LD_LIBRARY_PATH}", ); ok(1);