--- /dev/null
+Description: Disable setting rpath
+Author: Afif Elghraoui <afif@debian.org>
+Forwarded: not-needed
+Last-Update: 2016-03-05
+--- python-pysam.orig/cy_build.py
++++ python-pysam/cy_build.py
+@@ -53,7 +53,7 @@
+ ext._init_func(ext)
+
+ if not self.inplace:
+- ext.library_dirs.append(os.path.join(self.build_lib, "pysam"))
++ pass
+
+ if sys.platform == 'darwin':
+
+@@ -82,6 +82,5 @@
+ if not ext.extra_link_args:
+ ext.extra_link_args = []
+
+- ext.extra_link_args += ['-Wl,-rpath,$ORIGIN']
+
+ build_ext.build_extension(self, ext)