Files
Khem Raj cc74203ff0 python3-pyproj: Fix buildpaths QA Error
This error is due to absolute paths leaking into ELF files due to
-rpath option in compiler cmdline, therefore patch them out.

Apply patch [1] from Debian

[1] https://sources.debian.org/data/main/p/python-pyproj/3.6.1-4/debian/patches/rpath.patch

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
2025-04-16 20:30:23 -04:00

19 lines
600 B
Diff

Description: Don't set RPATH in libraries.
Author: Bas Couwenberg <sebastic@debian.org>
Forwarded: not-needed
Upstream-Status: Inappropriate [OE-Specific]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
--- a/setup.py
+++ b/setup.py
@@ -194,9 +194,6 @@ def get_extension_modules():
ext_options = {
"include_dirs": include_dirs,
"library_dirs": library_dirs,
- "runtime_library_dirs": (
- library_dirs if os.name != "nt" and sys.platform != "cygwin" else None
- ),
"libraries": get_libraries(library_dirs),
}
# setup cythonized modules