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
@ -3678,7 +3678,10 @@ AC_SUBST(MJIT_SUPPORT)
|
||||
|
||||
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]))
|
||||
|
Loading…
x
Reference in New Issue
Block a user