ruby-changes:68316
From: Jeremy <ko1@a...>
Date: Sat, 9 Oct 2021 08:02:15 +0900 (JST)
Subject: [ruby-changes:68316] 06c3e80611 (master): Do not allow configuration where neither static or shared library is installed
https://git.ruby-lang.org/ruby.git/commit/?id=06c3e80611 From 06c3e80611b81ec8f251957328486e9b6dd18d3b Mon Sep 17 00:00:00 2001 From: Jeremy Evans <code@j...> Date: Fri, 13 Aug 2021 08:16:24 -0700 Subject: Do not allow configuration where neither static or shared library is installed Fixes [Bug #18000] --- configure.ac | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fc9a9967f3..e581d9ae12 100644 --- a/configure.ac +++ b/configure.ac @@ -3678,7 +3678,10 @@ AC_SUBST(MJIT_SUPPORT) https://github.com/ruby/ruby/blob/trunk/configure.ac#L3678 AC_ARG_ENABLE(install-static-library, AS_HELP_STRING([--disable-install-static-library], [do not install static ruby library]), - [INSTALL_STATIC_LIBRARY=$enableval], + [INSTALL_STATIC_LIBRARY=$enableval + AS_IF([test x"$enable_shared" = xno -a x"$INSTALL_STATIC_LIBRARY" = xno], + [AC_MSG_ERROR([must install either static or shared library])], + [])], AS_IF([test x"$enable_shared" = xyes], [INSTALL_STATIC_LIBRARY=no], [INSTALL_STATIC_LIBRARY=yes])) -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/