blob: 61aeaca5fa84f79083376c4d0c4714954d8e650f [file] [log] [blame]
Andrew Geisslerac970dd2021-02-12 15:32:45 -06001From efae4e08d13e0958d929ea524e21c0a210b31982 Mon Sep 17 00:00:00 2001
Andrew Geisslereef63862021-01-29 15:58:13 -06002From: 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>
Andrew Geisslerac970dd2021-02-12 15:32:45 -060011
Andrew Geisslereef63862021-01-29 15:58:13 -060012---
13 setup.py | 3 ---
14 1 file changed, 3 deletions(-)
15
Patrick Williamsb48b7b42016-08-17 15:04:38 -050016diff --git a/setup.py b/setup.py
Andrew Geisslerac970dd2021-02-12 15:32:45 -060017index b634d94..7f6a2f1 100755
Patrick Williamsb48b7b42016-08-17 15:04:38 -050018--- a/setup.py
19+++ b/setup.py
Andrew Geisslerac970dd2021-02-12 15:32:45 -060020@@ -235,9 +235,6 @@ def _add_rpath(settings, path):
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080021 """
22 if sys.platform == 'darwin':
Andrew Geisslereef63862021-01-29 15:58:13 -060023 settings['extra_link_args'].extend(['-Wl,-rpath', '-Wl,%s' % path])
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080024- else:
25- settings['runtime_library_dirs'].append(path)
Andrew Geisslereef63862021-01-29 15:58:13 -060026-
Patrick Williamsb48b7b42016-08-17 15:04:38 -050027
Andrew Geisslerac970dd2021-02-12 15:32:45 -060028 def settings_from_prefix(prefix=None):
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080029 """load appropriate library/include settings from ZMQ prefix"""