diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python-pyzmq')
| -rw-r--r-- | meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch b/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch new file mode 100644 index 0000000000..2dc3b73f9e --- /dev/null +++ b/meta-python/recipes-devtools/python/python-pyzmq/club-rpath-out.patch | |||
| @@ -0,0 +1,26 @@ | |||
| 1 | diff --git a/setup.py b/setup.py | ||
| 2 | index 62df445..1fdbdeb 100755 | ||
| 3 | --- a/setup.py | ||
| 4 | +++ b/setup.py | ||
| 5 | @@ -213,12 +213,6 @@ def settings_from_prefix(prefix=None, bundle_libzmq_dylib=False): | ||
| 6 | pass | ||
| 7 | # unused rpath args for OS X: | ||
| 8 | # settings['extra_link_args'] = ['-Wl,-rpath','-Wl,$ORIGIN/..'] | ||
| 9 | - else: | ||
| 10 | - settings['runtime_library_dirs'] += ['$ORIGIN/..'] | ||
| 11 | - elif sys.platform != 'darwin': | ||
| 12 | - settings['runtime_library_dirs'] += [ | ||
| 13 | - os.path.abspath(x) for x in settings['library_dirs'] | ||
| 14 | - ] | ||
| 15 | |||
| 16 | return settings | ||
| 17 | |||
| 18 | @@ -592,8 +586,6 @@ class Configure(build_ext): | ||
| 19 | pass | ||
| 20 | # unused rpath args for OS X: | ||
| 21 | # settings['extra_link_args'] = ['-Wl,-rpath','-Wl,$ORIGIN/../zmq'] | ||
| 22 | - else: | ||
| 23 | - settings['runtime_library_dirs'] = [ os.path.abspath(pjoin('.', 'zmq')) ] | ||
| 24 | |||
| 25 | line() | ||
| 26 | info("Configure: Autodetecting ZMQ settings...") | ||
