Changeset 18975

Show
Ignore:
Timestamp:
06/26/06 10:15:55 (2 years ago)
Author:
patrick
Message:

Set $LD_SONAME_FLAG and $CC_SONAME_FLAG for the Mac OS X case. It turns out
that using this particular flag is critical for getting universal binaries
to work correctly.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/macros/vrj-helpers.m4

    r18935 r18975  
    309309      LD_SONAME_FLAG='-soname' 
    310310      CC_SONAME_FLAG="-Wl,$LD_SONAME_FLAG," 
    311    elif test "x$GNU_LD" = "xyes" -a "x$PLATFORM" != "xDarwin" ; then 
     311   elif test "x$PLATFORM" = "xDarwin" ; then 
     312      HAVE_LD_SONAME='Y' 
     313      LD_SONAME_FLAG='-dylib_install_name' 
     314      CC_SONAME_FLAG="-Wl,$LD_SONAME_FLAG," 
     315   elif test "x$GNU_LD" = "xyes" ; then 
    312316      HAVE_LD_SONAME='Y' 
    313317      LD_SONAME_FLAG='-soname'