From: <pat...@us...> - 2007-07-07 01:08:31
|
Revision: 614 http://svn.sourceforge.net/xml-cppdom/?rev=614&view=rev Author: patrickh Date: 2007-07-06 18:08:34 -0700 (Fri, 06 Jul 2007) Log Message: ----------- Since we're passing platform-specific linker flags on Mac OS X, we might as well pass in some version information, too. Modified Paths: -------------- trunk/cppdom/SConscript Modified: trunk/cppdom/SConscript =================================================================== --- trunk/cppdom/SConscript 2007-07-07 00:58:57 UTC (rev 613) +++ trunk/cppdom/SConscript 2007-07-07 01:08:34 UTC (rev 614) @@ -47,7 +47,10 @@ cppdom_shared_lib_env.AppendUnique(CPPDEFINES = ["CPPDOM_EXPORTS"]) if GetPlatform() == 'darwin': cppdom_shared_lib_env.Append( - LINKFLAGS = ['-install_name', 'lib%s.dylib' % cppdom_shared_libname] + LINKFLAGS = ['-install_name', 'lib%s.dylib' % cppdom_shared_libname, + '-Wl,-compatibility_version,%i.%i' % \ + (CPPDOM_VERSION[0], CPPDOM_VERSION[1]), + '-Wl,-current_version,%i.%i.%i' % CPPDOM_VERSION] ) cppdom_lib = cppdom_shared_lib_env.SharedLibrary(cppdom_shared_libname, sources, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |