Andrew Geissler | eef6386 | 2021-01-29 15:58:13 -0600 | [diff] [blame] | 1 | From b394003d31a7187767b7d6cc7b871968d2674be9 Mon Sep 17 00:00:00 2001 |
| 2 | From: Leon Anavi <leon.anavi@konsulko.com> |
| 3 | Date: Fri, 22 Jan 2021 11:41:12 +0200 |
| 4 | Subject: [PATCH] setup.py: Adjust _add_rpath |
| 5 | |
| 6 | Fix error: unrecognized command-line option '-R' |
| 7 | |
| 8 | Upstream-Status: Inappropriate [oe specific] |
| 9 | |
| 10 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> |
| 11 | --- |
| 12 | setup.py | 3 --- |
| 13 | 1 file changed, 3 deletions(-) |
| 14 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 15 | diff --git a/setup.py b/setup.py |
Andrew Geissler | eef6386 | 2021-01-29 15:58:13 -0600 | [diff] [blame] | 16 | index 22f582d..2d28655 100755 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 17 | --- a/setup.py |
| 18 | +++ b/setup.py |
Andrew Geissler | eef6386 | 2021-01-29 15:58:13 -0600 | [diff] [blame] | 19 | @@ -231,9 +231,6 @@ def _add_rpath(settings, path): |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 20 | """ |
| 21 | if sys.platform == 'darwin': |
Andrew Geissler | eef6386 | 2021-01-29 15:58:13 -0600 | [diff] [blame] | 22 | settings['extra_link_args'].extend(['-Wl,-rpath', '-Wl,%s' % path]) |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 23 | - else: |
| 24 | - settings['runtime_library_dirs'].append(path) |
Andrew Geissler | eef6386 | 2021-01-29 15:58:13 -0600 | [diff] [blame] | 25 | - |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 26 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 27 | def settings_from_prefix(prefix=None, bundle_libzmq_dylib=False): |
| 28 | """load appropriate library/include settings from ZMQ prefix""" |
Andrew Geissler | eef6386 | 2021-01-29 15:58:13 -0600 | [diff] [blame] | 29 | -- |
| 30 | 2.17.1 |
| 31 | |