From 8330415b2983906eea4ea4664965484ff28b54da Mon Sep 17 00:00:00 2001 From: Thomas Ferreira de Lima Date: Mon, 16 Jul 2018 01:52:51 -0400 Subject: [PATCH] adding rpath to all libraries --- setup.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 41b0cc158..abdb0dad9 100644 --- a/setup.py +++ b/setup.py @@ -128,8 +128,7 @@ class Config(object): args = [] if mod[0] == "_": args += ["-Wl,-dylib", '-Wl,-install_name,@rpath/%s' % self.libname_of(mod)] - else: - args += ['-Wl,-rpath,@loader_path/'] + args += ['-Wl,-rpath,@loader_path/'] return args else: # this makes the libraries suitable for linking with a path -