mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 10:08:59 +00:00
9437012b9e
Since the switch to Python 3 build fails if CONFIG_USE_MKLIBS is set
("Strip unnecessary functions from libraries" in menuconfig) as
mklibs hasn't been converted to run on Python 3.
* update to most recent upstream version which brings some
reproducibility fixes
* converted to Python 3 using 2to3
* fixed mixed tab/spaces indentation
* fixed use of string.* functions
* some more minor fixes to make Python 3 happy
Fixes commit 19938c8de7
("build: switch to Python 3")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
11 lines
278 B
Diff
11 lines
278 B
Diff
--- a/src/mklibs
|
|
+++ b/src/mklibs
|
|
@@ -274,6 +274,7 @@ def extract_soname(so_file):
|
|
return ""
|
|
|
|
def multiarch(paths):
|
|
+ return paths
|
|
devnull = open('/dev/null', 'w')
|
|
dpkg_architecture = subprocess.Popen(
|
|
['dpkg-architecture', '-qDEB_HOST_MULTIARCH'],
|