tools/mklibs: update to version 0.1.30
[openwrt.git] / tools / mklibs / patches / 007-uclibc_init.patch
1 --- a/src/mklibs
2 +++ b/src/mklibs
3 @@ -571,6 +571,11 @@ while 1:
4 extra_post_obj.append(sysroot + libc_extras_dir + "/sofini.o")
5 symbols.add(ProvidedSymbol('__dso_handle', None, None, True))
6
7 + if soname in ("libc.so.0"):
8 + symbols.add(ProvidedSymbol('__uClibc_init', None, None, True))
9 + symbols.add(ProvidedSymbol('__uClibc_fini', None, None, True))
10 + extra_flags.append("-Wl,-init,__uClibc_init")
11 +
12 map_file = find_pic_map(library)
13 if map_file:
14 extra_flags.append("-Wl,--version-script=" + map_file)
This page took 0.040709 seconds and 5 git commands to generate.