From 8ca5c4b0bce5aeeaabab61e0499e4c1042207387 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 10 Mar 2022 13:25:19 +0000 Subject: python3-pyzmq: clean up recipe Put the patch into a directory named after PN to avoid needing to set FILESEXTRAPATHS. Remove explicit FILES:${PN}-dbg, as these are packaged automatically. Signed-off-by: Ross Burton Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-pyzmq/club-rpath-out.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pyzmq/club-rpath-out.patch (limited to 'meta-python/recipes-devtools/python/python3-pyzmq/club-rpath-out.patch') diff --git a/meta-python/recipes-devtools/python/python3-pyzmq/club-rpath-out.patch b/meta-python/recipes-devtools/python/python3-pyzmq/club-rpath-out.patch new file mode 100644 index 0000000000..61aeaca5fa --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyzmq/club-rpath-out.patch @@ -0,0 +1,29 @@ +From efae4e08d13e0958d929ea524e21c0a210b31982 Mon Sep 17 00:00:00 2001 +From: Leon Anavi +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 + +--- + 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""" -- cgit v1.2.3-54-g00ecf