about summary refs log tree commit diff
path: root/pkgs/by-name/bc/bcc/libbcc-path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/bc/bcc/libbcc-path.patch')
-rw-r--r--pkgs/by-name/bc/bcc/libbcc-path.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/by-name/bc/bcc/libbcc-path.patch b/pkgs/by-name/bc/bcc/libbcc-path.patch
new file mode 100644
index 0000000000000..187bb3aadd00d
--- /dev/null
+++ b/pkgs/by-name/bc/bcc/libbcc-path.patch
@@ -0,0 +1,11 @@
+--- source.org/src/python/bcc/libbcc.py	2018-05-13 08:35:06.850522883 +0100
++++ source/src/python/bcc/libbcc.py	2018-05-13 08:36:24.602733151 +0100
+@@ -14,7 +14,7 @@
+ 
+ import ctypes as ct
+ 
+-lib = ct.CDLL("libbcc.so.0", use_errno=True)
++lib = ct.CDLL("@out@/lib/libbcc.so.0", use_errno=True)
+ 
+ # keep in sync with bpf_common.h
+ lib.bpf_module_create_b.restype = ct.c_void_p