Changeset 3112


Ignore:
Timestamp:
Dec 3, 2013 12:34:42 AM (6 years ago)
Author:
tkr
Message:

Making static libraries default on CYGWIN again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/0.7/coin.m4

    r3110 r3112  
    15671567  case $build in
    15681568    *-cygwin* | *-mingw*)
     1569      coin_disable_shared = yes
    15691570      if test x"$enable_shared" = xyes; then
    15701571        case "$CXX" in
    15711572          clang* )
    1572             coin_disable_shared=yes
    15731573            AC_MSG_WARN([DLL building not supported. I'm disabling your choice.])
    15741574            ;;
    15751575          cl* | */cl* | CL* | */CL* | icl* | */icl* | ICL* | */ICL*)
    1576             coin_disable_shared=yes
    15771576            AC_MSG_NOTICE([DLL building not supported, but will build with -MD(d) instead of -MT(d).])
    15781577            ;;
    1579           *-g++*)
    1580             coin_disable_shared=no
     1578          *g++*)
     1579            if test x"$dependency_linking" = xyes; then
     1580              coin_disable_shared=no
     1581            else
     1582              AC_MSG_WARN([To build shared libraries with gcc on CYGWIN or MSys, use --enable-dependency-linking])
     1583            fi
    15811584            ;;
    15821585          *)
    1583             coin_disable_shared=yes
    1584             AC_MSG_WARN([DLL building not supported. I'm disabling your choice.])
    15851586            ;;
    15861587        esac
Note: See TracChangeset for help on using the changeset viewer.