summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-01-14 17:53:22 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2024-01-14 23:38:47 +0900
commit772413245f782f538413a69a270ec75ee8b77f18 (patch)
tree7e21b988e008eba174e261fb1c9a6dcbf5f37821
parent338eb0065bd81ba8ae8b9402abc94804a24594cc (diff)
Skip checking for symbol leaks in libruby.a linking extensions
The libruby.a linking extension libraries contain symbols exported from extension libraries, and is not subject of test-leaked-globals.
-rw-r--r--template/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/Makefile.in b/template/Makefile.in
index 5b6cd87b06..61f420d966 100644
--- a/template/Makefile.in
+++ b/template/Makefile.in
@@ -643,7 +643,7 @@ un-runnable:
$(ECHO) cannot make runnable, configure with --enable-load-relative.
$(Q) exit 1
-LIBRUBY_FOR_LEAKED_GLOBALS = $(enable_shared:no=)
+LIBRUBY_FOR_LEAKED_GLOBALS = $(enable_shared:no=$(EXTSTATIC:static=))
yes-test-basic: $(DOT_WAIT) test-leaked-globals
leaked-globals: test-leaked-globals
yes-test-leaked-globals-precheck: $(COMMONOBJS) prog $(tooldir)/leaked-globals