summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-23 00:14:39 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-23 00:25:36 +0900
commitec9a9aaa5171f176076f52180248329de9920ff6 (patch)
treecede36ff03091f116decb48d645d1f05c2f91e52
parent6adbdb56edcf62c11229e1c9c6f75656700f1c5f (diff)
Ignore configurations in un-built extension libraries
Exclude linker flags for external libraries used by no longer built extension libraries when static-linked-ext.
-rw-r--r--template/exts.mk.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/template/exts.mk.tmpl b/template/exts.mk.tmpl
index 5a72912839..e4706be373 100644
--- a/template/exts.mk.tmpl
+++ b/template/exts.mk.tmpl
@@ -39,6 +39,7 @@ Dir.glob("{ext,.bundle/gems}/*/exts.mk") do |e|
else
macros[n] = m | v
end
+ break if n == "old_extensions"
end
if gem
r = ""