* 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 -
This commit is contained in:
Jonas Maebe 2012-04-11 18:04:36 +00:00
parent cf2ffdce1a
commit ddde9760c2

View File

@ -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;