Advertisement
goatbar

new darwin library patch

Aug 22nd, 2011
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.55 KB | None | 0 0
  1. git diff
  2. diff --git a/SConstruct b/SConstruct
  3. index 09c0825..31f8c57 100644
  4. --- a/SConstruct
  5. +++ b/SConstruct
  6. @@ -580,6 +580,7 @@ def VersionedSharedLibrary(env, libname, libversion, lib_objs=[], parse_flags=[]
  7.      elif platform == 'darwin':
  8.          ilib_suffix = '.' + libversion + shlib_suffix
  9.          shlink_flags += [ '-current_version', '%s' % libversion,
  10. +                          '-compatibility_version', '%s' % libversion,
  11.                            '-undefined', 'dynamic_lookup' ]
  12.  
  13.      ilib = env.SharedLibrary(libname,lib_objs,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement