diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-05-15 11:28:38 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-05-30 15:33:18 +0200 |
commit | a86faea94836af1faf0a1392e6d5c6bd967ffdcd (patch) | |
tree | 40752ae711b443842825cf9eaec396ecd4dc5dff /CC/foreign/make | |
parent | 0073a9c1c9c67ee6fe0fd064b6354bbd11bba50f (diff) | |
download | rules-cc-a86faea94836af1faf0a1392e6d5c6bd967ffdcd.tar.gz |
rules-cc/foreign: Set rpath
Diffstat (limited to 'CC/foreign/make')
-rw-r--r-- | CC/foreign/make/EXPRESSIONS | 3 |
1 files changed, 2 insertions, 1 deletions
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"} |