mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Do not allow configuration where neither static or shared library is installed
Fixes [Bug #18000]
This commit is contained in:
parent
b4afedb0dd
commit
06c3e80611
Notes:
git
2021-10-09 08:02:14 +09:00
1 changed files with 4 additions and 1 deletions
|
@ -3678,7 +3678,10 @@ AC_SUBST(MJIT_SUPPORT)
|
||||||
|
|
||||||
AC_ARG_ENABLE(install-static-library,
|
AC_ARG_ENABLE(install-static-library,
|
||||||
AS_HELP_STRING([--disable-install-static-library], [do not install static ruby 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],
|
AS_IF([test x"$enable_shared" = xyes],
|
||||||
[INSTALL_STATIC_LIBRARY=no],
|
[INSTALL_STATIC_LIBRARY=no],
|
||||||
[INSTALL_STATIC_LIBRARY=yes]))
|
[INSTALL_STATIC_LIBRARY=yes]))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue