From ddde9760c24bc439f938522270e010f31fb6ec5b Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Wed, 11 Apr 2012 18:04:36 +0000 Subject: [PATCH] * ignore tf_no_backquote_support in source_info.flags in case we will link on the target system (-St command line option during cross-compiling) git-svn-id: trunk@20817 - --- compiler/link.pas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler/link.pas b/compiler/link.pas index 0f130c7723..2020947365 100644 --- a/compiler/link.pas +++ b/compiler/link.pas @@ -678,7 +678,8 @@ Implementation f : text; st : string; begin - if not (tf_no_backquote_support in source_info.flags) then + if not (tf_no_backquote_support in source_info.flags) or + (cs_link_on_target in current_settings.globalswitches) then begin CatFileContent:='`cat '+MaybeQuoted(para)+'`'; Exit;