blob: fffab3c4faa83a1f3c443e0915a12a9b340e5492 (
plain)
1
2
3
4
5
6
7
8
9
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(
|