We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d3885f commit a7eb76aCopy full SHA for a7eb76a
omd/packages/lcab/BUILD
@@ -1,9 +1,16 @@
1
load("@rules_pkg//pkg:mappings.bzl", "pkg_attributes", "pkg_files")
2
load("@rules_pkg//pkg:tar.bzl", "pkg_tar")
3
+load("//bazel/rules:patchelf.bzl", "set_runpath")
4
+
5
+set_runpath(
6
+ name = "lcab_runpath",
7
+ srcs = ["@lcab//:lcab_bin"],
8
+ rpaths = ["${ORIGIN}/../lib"],
9
+)
10
11
pkg_files(
12
name = "lcab_bin",
- srcs = ["@lcab//:lcab_bin"],
13
+ srcs = [":lcab_runpath"],
14
attributes = pkg_attributes(
15
mode = "0755",
16
),
0 commit comments