diff options
author | fanquake <fanquake@gmail.com> | 2020-01-03 19:34:58 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2020-01-04 11:24:42 +0800 |
commit | c491368d8cfddf3a5b6d574f10ed67492fcecbed (patch) | |
tree | 965cc7283e053f501c1c45b181376dfed5c8c08b /src | |
parent | 76bf97213f4b153dd3ccf1314088a73c4804601d (diff) | |
download | bitcoin-c491368d8cfddf3a5b6d574f10ed67492fcecbed.tar.xz |
scripts: add MACHO dylib checking to symbol-check.py
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 5ae945ac69..54353b03cf 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -702,6 +702,11 @@ clean-local: $(AM_V_GEN) $(WINDRES) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(CPPFLAGS) -DWINDRES_PREPROC -i $< -o $@ check-symbols: $(bin_PROGRAMS) +if TARGET_DARWIN + @echo "Checking macOS dynamic libraries..." + $(AM_V_at) OTOOL=$(OTOOL) $(PYTHON) $(top_srcdir)/contrib/devtools/symbol-check.py $(bin_PROGRAMS) +endif + if GLIBC_BACK_COMPAT @echo "Checking glibc back compat..." $(AM_V_at) READELF=$(READELF) CPPFILT=$(CPPFILT) $(PYTHON) $(top_srcdir)/contrib/devtools/symbol-check.py $(bin_PROGRAMS) |