# HG changeset patch # User John Donoghue # Date 1529599331 14400 # Node ID b3c68525ed82260891bc135ff546569e8d5a35ca # Parent 9feda91c85927133b2c0b165a7d0e41291bcc9df link oct files with liboctave and libinterp in cross compile tools (Bug #53627) * src/mkoctfile.in.cc: us defined(CROSS) as additional check for including libs/flags diff -r 9feda91c8592 -r b3c68525ed82 src/mkoctfile.in.cc --- a/src/mkoctfile.in.cc Thu Jun 21 11:06:52 2018 -0400 +++ b/src/mkoctfile.in.cc Thu Jun 21 12:42:11 2018 -0400 @@ -164,7 +164,7 @@ std::string DEFAULT_LFLAGS; -#if defined (OCTAVE_USE_WINDOWS_API) +#if defined (OCTAVE_USE_WINDOWS_API) || defined(CROSS) // We'll be linking with -loctinterp and -loctave, so we need to know // where to find them. @@ -877,7 +877,7 @@ if (link && ! objfiles.empty ()) { std::string octave_libs; -#if defined (OCTAVE_USE_WINDOWS_API) +#if defined (OCTAVE_USE_WINDOWS_API) || defined(CROSS) octave_libs = "-loctinterp -loctave"; #endif