Skip to content

Commit

Permalink
build: Allow export of environ symbols
Browse files Browse the repository at this point in the history
This export was introduced in bitcoin#17270 which added
```
//! Necessary on some platforms
extern char** environ;
```
  • Loading branch information
laanwj authored and furszy committed May 1, 2021
1 parent 7c6ad15 commit b8d4c8e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/devtools/symbol-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@

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

0 comments on commit b8d4c8e

Please sign in to comment.