ruby-changes:66588
From: Nobuyoshi <ko1@a...>
Date: Thu, 24 Jun 2021 18:02:04 +0900 (JST)
Subject: [ruby-changes:66588] 627aafac86 (master): Remove also debug symbol directory at clean on macOS
https://git.ruby-lang.org/ruby.git/commit/?id=627aafac86 From 627aafac866b8eef562e9772998d0967f26b1c20 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Wed, 23 Jun 2021 21:55:56 +0900 Subject: Remove also debug symbol directory at clean on macOS --- configure.ac | 3 +++ lib/mkmf.rb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 09d9f72..90b5a75 100644 --- a/configure.ac +++ b/configure.ac @@ -962,6 +962,8 @@ AS_CASE(["$target_os"], [*android*], [ https://github.com/ruby/ruby/blob/trunk/configure.ac#L962 AS_UNSET(ORIG_LIBS) POSTLINK=: AC_SUBST(POSTLINK) +cleanlibs= +AC_SUBST(cleanlibs) AS_CASE(["$target_os"], [nextstep*], [ ], [openstep*], [ ], @@ -1060,6 +1062,7 @@ main() https://github.com/ruby/ruby/blob/trunk/configure.ac#L1062 AC_CHECK_HEADERS(crt_externs.h, [], [], [ #include <crt_externs.h> ]) + cleanlibs='$(TARGET_SO).dSYM' ], [hpux*], [ LIBS="-lm $LIBS" ac_cv_c_inline=no], diff --git a/lib/mkmf.rb b/lib/mkmf.rb index a7b69c5..d7301d7 100644 --- a/lib/mkmf.rb +++ b/lib/mkmf.rb @@ -2763,7 +2763,7 @@ clean-rb-default:: https://github.com/ruby/ruby/blob/trunk/lib/mkmf.rb#L2763 clean-rb:: clean-so:: clean: clean-so clean-static clean-rb-default clean-rb -\t\t-$(Q)$(RM) $(CLEANLIBS#{sep}) $(CLEANOBJS#{sep}) $(CLEANFILES#{sep}) .*.time +\t\t-$(Q)$(RM_RF) $(CLEANLIBS#{sep}) $(CLEANOBJS#{sep}) $(CLEANFILES#{sep}) .*.time distclean-rb-default:: distclean-rb:: -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/