MINGW-packages/mingw-w64-coin-or-buildtools/001-allow-shared-libs-with-clang.patch
مهدي شينون (Mehdi Chinoune) 57602bb54b [new-package] coin-or-buildtools 0.8.11
2024-01-20 12:49:36 +01:00

27 lines
1.0 KiB
Diff

--- a/coin.m4
+++ b/coin.m4
@@ -1530,19 +1530,16 @@
coin_disable_shared=yes
if test x"$enable_shared" = xyes; then
case "$CC" in
- clang* )
- AC_MSG_WARN([Building of DLLs not supported in this configuration.])
- ;;
- cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
- AC_MSG_NOTICE([Building of DLLs not supported in this configuration.])
- ;;
- *gcc*)
+ *gcc* | *clang* )
if test x"$enable_dependency_linking" = xyes; then
coin_disable_shared=no
else
AC_MSG_WARN([Dependency linking seems to be disabled, so shared libraries (DLLs) will not be built])
fi
;;
+ cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
+ AC_MSG_NOTICE([Building of DLLs not supported in this configuration.])
+ ;;
*)
AC_MSG_WARN([Building of DLLs not supported in this configuration.])
;;