]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite: Update path to intl include.
authorIain Sandoe <iain@sandoe.co.uk>
Tue, 21 Nov 2023 10:19:29 +0000 (10:19 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Wed, 22 Nov 2023 14:51:00 +0000 (14:51 +0000)
When we are building libintl in-tree, we need to pass the path
to the generated libintl.h include to the plugin tests.  This
path has changed with the use of gettext directly.

gcc/testsuite/ChangeLog:

* lib/plugin-support.exp: Update the expected path to an
in-tree build of libintl.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/testsuite/lib/plugin-support.exp

index 378881b0f5dc6ff17ade2c20e3b990a8b7a3cd74..8accf13fab63140da859af063eeb4d56e8525d3c 100644 (file)
@@ -85,7 +85,7 @@ proc plugin-test-execute { plugin_src plugin_tests } {
     set gcc_objdir "$objdir/../../.."
     set includes "-I. -I${srcdir} -I${gcc_srcdir}/gcc -I${gcc_objdir}/gcc \
                   -I${gcc_srcdir}/include -I${gcc_srcdir}/libcpp/include \
-                  $GMPINC -I${gcc_objdir}/intl"
+                  $GMPINC -I${gcc_objdir}/gettext/intl"
 
     if { [ ishost *-*-darwin* ] } {
        # -mdynamic-no-pic is incompatible with -fPIC.