Skip to content

Commit 8d79898

Browse files
laanwjfurszy
authored andcommitted
build: Allow export of environ symbols
This export was introduced in bitcoin#17270 which added ``` //! Necessary on some platforms extern char** environ; ```
1 parent 190a2a3 commit 8d79898

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/devtools/symbol-check.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@
4747

4848
# Ignore symbols that are exported as part of every executable
4949
IGNORE_EXPORTS = {
50-
'_edata', '_end', '__end__', '_init', '__bss_start', '__bss_start__', '_bss_end__', '__bss_end__', '_fini', '_IO_stdin_used', 'stdin', 'stdout', 'stderr'
50+
'_edata', '_end', '__end__', '_init', '__bss_start', '__bss_start__', '_bss_end__', '__bss_end__', '_fini', '_IO_stdin_used', 'stdin', 'stdout', 'stderr',
51+
'environ', '_environ', '__environ',
5152
}
5253
READELF_CMD = os.getenv('READELF', '/usr/bin/readelf')
5354
CPPFILT_CMD = os.getenv('CPPFILT', '/usr/bin/c++filt')

0 commit comments

Comments
 (0)