From a86faea94836af1faf0a1392e6d5c6bd967ffdcd Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Mon, 15 May 2023 11:28:38 +0200 Subject: rules-cc/foreign: Set rpath --- CC/foreign/make/EXPRESSIONS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CC/foreign/make') diff --git a/CC/foreign/make/EXPRESSIONS b/CC/foreign/make/EXPRESSIONS index fb85101..df2f98f 100644 --- a/CC/foreign/make/EXPRESSIONS +++ b/CC/foreign/make/EXPRESSIONS @@ -77,7 +77,8 @@ , "$1": { "type": "++" , "$1": - [ { "type": "var" + [ ["-Wl,-rpath,$ORIGIN", "-Wl,-rpath,$ORIGIN/../lib"] + , { "type": "var" , "name": "LDFLAGS" , "default": {"type": "CALL_EXPRESSION", "name": "default-LDFLAGS"} -- cgit v1.2.3