Ticket #40155: patch-tiger.diff

File patch-tiger.diff, 719 bytes (added by mp@…, 11 years ago)

patch to SConstruct to allow build on Tiger

  • SConstruct

    old new  
    220220  env.Append(LINKFLAGS='-Wl,-install_name,%s/%s.dylib' % (thisdir, LIBNAME,))
    221221  # 'man ld' says positive non-zero for the first number, so we add one.
    222222  # Mac's interpretation of compatibility is the same as our MINOR version.
    223   env.Append(LINKFLAGS='-Wl,-compatibility_version,%d' % (MINOR+1,))
    224   env.Append(LINKFLAGS='-Wl,-current_version,%d.%d' % (MINOR+1, PATCH,))
     223  # fix for OSX 10.4 Tiger (might also work for other versions):
     224  env['SHLIBVERSION']='${%d}.0.0' % (MINOR+1,)
    225225
    226226if sys.platform != 'win32':
    227227  ### gcc only. figure out appropriate test / better way to check these