From a82f7a15c35c17ff6e32eb2f17a2d50d36b89f9d Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Thu, 13 Jul 2023 15:18:15 +0200 Subject: foreign: Resolve DESTDIR symlinks instead of deleting them --- CC/foreign/cmake/EXPRESSIONS | 4 +++- CC/foreign/make/EXPRESSIONS | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'CC') diff --git a/CC/foreign/cmake/EXPRESSIONS b/CC/foreign/cmake/EXPRESSIONS index 362cca3..e762e58 100644 --- a/CC/foreign/cmake/EXPRESSIONS +++ b/CC/foreign/cmake/EXPRESSIONS @@ -251,7 +251,9 @@ } } } - , ["find ./install -type l -delete"] + , [ "mv install install_with_symlinks" + , "cp -rL install_with_symlinks install" + ] , { "type": "if" , "cond": {"type": "var", "name": "post_cmds"} , "then": diff --git a/CC/foreign/make/EXPRESSIONS b/CC/foreign/make/EXPRESSIONS index 6e0ddf8..36ac152 100644 --- a/CC/foreign/make/EXPRESSIONS +++ b/CC/foreign/make/EXPRESSIONS @@ -255,7 +255,9 @@ ] } } - , ["find ./install -type l -delete"] + , [ "mv install install_with_symlinks" + , "cp -rL install_with_symlinks install" + ] , { "type": "if" , "cond": {"type": "var", "name": "post_cmds"} , "then": -- cgit v1.2.3