Changeset 18


Ignore:
Timestamp:
May 19, 2006 4:36:04 PM (14 years ago)
Author:
andreasw
Message:

made setting of libtool flag -no-undefined platform dependent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r17 r18  
    10181018          -e 's/$AR t/lib -nologo -list/' \
    10191019          -e 's%f_ex_an_ar_oldlib="\($?*1*\)"%f_ex_an_ar_oldlib='\`"$CYGPATH_W"' \1`%' \
     1020          -e  's%^archive_cmds=.*%archive_cmds="\\$CC -o \\$lib \\$libobjs \\$compiler_flags \\\\\\`echo \\\\\\"\\$deplibs\\\\\\" | \\$SED -e '"\'"'s/ -lc\\$//'"\'"'\\\\\\` -link -dll~linknames="%' \
    10201021      libtool > conftest.bla
    10211022
     
    10261027  esac
    10271028esac
     1029
     1030# Unless we are on Darwin, we want to use the -no-undefined flag for
     1031# libtool to be able to create shared objects
     1032case $build in
     1033  *-darwin*)
     1034    LT_LDFLAGS=
     1035    ;;
     1036  *)
     1037    LT_LDFLAGS=-no-undefined
     1038    ;;
     1039esac
     1040AC_SUBST(LT_LDFLAGS)
    10281041]) # AC_COIN_PROG_LIBTOOL
    10291042
Note: See TracChangeset for help on using the changeset viewer.