aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2020-01-03 19:34:58 +0800
committerfanquake <fanquake@gmail.com>2020-01-04 11:24:42 +0800
commitc491368d8cfddf3a5b6d574f10ed67492fcecbed (patch)
tree965cc7283e053f501c1c45b181376dfed5c8c08b /src/Makefile.am
parent76bf97213f4b153dd3ccf1314088a73c4804601d (diff)
scripts: add MACHO dylib checking to symbol-check.py
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am5
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)