netfilter: fix ABI breakage caused by the netfilter match optimization (fixes #5628)
[openwrt.git] / tools / mklibs / patches / 002-disable_symbol_checks.patch
1 --- a/src/mklibs.py
2 +++ b/src/mklibs.py
3 @@ -500,7 +500,7 @@ while 1:
4 # No progress in last pass. Verify all remaining symbols are weak.
5 for name in unresolved:
6 if not needed_symbols[name].weak:
7 - raise "Unresolvable symbol %s" % name
8 + print "WARNING: Unresolvable symbol %s" % name
9 break
10
11 previous_pass_unresolved = unresolved
12 @@ -533,10 +533,7 @@ while 1:
13
14 # which symbols are actually used from each lib
15 for name in needed_symbols:
16 - if not name in symbol_provider:
17 - if not needed_symbols[name].weak:
18 - raise "No library provides non-weak %s" % name
19 - else:
20 + if name in symbol_provider:
21 lib = symbol_provider[name]
22 library_symbols_used[lib].add(library_symbols[lib][name])
23
This page took 0.043591 seconds and 5 git commands to generate.