summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/llvmpy/files/llvmpy-0.11.2-rpath.patch')
-rw-r--r--dev-python/llvmpy/files/llvmpy-0.11.2-rpath.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-python/llvmpy/files/llvmpy-0.11.2-rpath.patch b/dev-python/llvmpy/files/llvmpy-0.11.2-rpath.patch
new file mode 100644
index 0000000..fffab3c
--- /dev/null
+++ b/dev-python/llvmpy/files/llvmpy-0.11.2-rpath.patch
@@ -0,0 +1,10 @@
+--- a/setup.py
++++ b/setup.py
+@@ -137,6 +137,7 @@ check_call([sys.executable, 'llvmpy/build.py'])
+
+ # generate shared objects
+ extra_link_args = ldflags.split()
++extra_link_args.append('-Wl,--rpath,%s' % libdir)
+ kwds = dict(
+ ext_modules = [
+ Extension(