blob: d4e144a610f046ef262e4910bfb4d905b01257d9 [file] [log] [blame]
Andrew Geisslereef63862021-01-29 15:58:13 -06001From b394003d31a7187767b7d6cc7b871968d2674be9 Mon Sep 17 00:00:00 2001
2From: Leon Anavi <leon.anavi@konsulko.com>
3Date: Fri, 22 Jan 2021 11:41:12 +0200
4Subject: [PATCH] setup.py: Adjust _add_rpath
5
6Fix error: unrecognized command-line option '-R'
7
8Upstream-Status: Inappropriate [oe specific]
9
10Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
11---
12 setup.py | 3 ---
13 1 file changed, 3 deletions(-)
14
Patrick Williamsb48b7b42016-08-17 15:04:38 -050015diff --git a/setup.py b/setup.py
Andrew Geisslereef63862021-01-29 15:58:13 -060016index 22f582d..2d28655 100755
Patrick Williamsb48b7b42016-08-17 15:04:38 -050017--- a/setup.py
18+++ b/setup.py
Andrew Geisslereef63862021-01-29 15:58:13 -060019@@ -231,9 +231,6 @@ def _add_rpath(settings, path):
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020 """
21 if sys.platform == 'darwin':
Andrew Geisslereef63862021-01-29 15:58:13 -060022 settings['extra_link_args'].extend(['-Wl,-rpath', '-Wl,%s' % path])
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080023- else:
24- settings['runtime_library_dirs'].append(path)
Andrew Geisslereef63862021-01-29 15:58:13 -060025-
Patrick Williamsb48b7b42016-08-17 15:04:38 -050026
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027 def settings_from_prefix(prefix=None, bundle_libzmq_dylib=False):
28 """load appropriate library/include settings from ZMQ prefix"""
Andrew Geisslereef63862021-01-29 15:58:13 -060029--
302.17.1
31