summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pyzmq/club-rpath-out.patch
blob: 61aeaca5fa84f79083376c4d0c4714954d8e650f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From efae4e08d13e0958d929ea524e21c0a210b31982 Mon Sep 17 00:00:00 2001
From: Leon Anavi <leon.anavi@konsulko.com>
Date: Fri, 22 Jan 2021 11:41:12 +0200
Subject: [PATCH] setup.py: Adjust _add_rpath

Fix error: unrecognized command-line option '-R'

Upstream-Status: Inappropriate [oe specific]

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>

---
 setup.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/setup.py b/setup.py
index b634d94..7f6a2f1 100755
--- a/setup.py
+++ b/setup.py
@@ -235,9 +235,6 @@ def _add_rpath(settings, path):
     """
     if sys.platform == 'darwin':
         settings['extra_link_args'].extend(['-Wl,-rpath', '-Wl,%s' % path])
-    else:
-        settings['runtime_library_dirs'].append(path)
-
 
 def settings_from_prefix(prefix=None):
     """load appropriate library/include settings from ZMQ prefix"""