jack2 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
676B

  1. diff --git a/waflib/Tools/ccroot.py b/waflib/Tools/ccroot.py
  2. index cfef8bf5..484846f5 100644
  3. --- a/waflib/Tools/ccroot.py
  4. +++ b/waflib/Tools/ccroot.py
  5. @@ -575,12 +575,10 @@ def apply_vnum(self):
  6. cnum = getattr(self, 'cnum', str(nums[0]))
  7. cnums = cnum.split('.')
  8. - if len(cnums)>len(nums) or nums[0:len(cnums)] != cnums:
  9. - raise Errors.WafError('invalid compatibility version %s' % cnum)
  10. libname = node.name
  11. if libname.endswith('.dylib'):
  12. - name3 = libname.replace('.dylib', '.%s.dylib' % self.vnum)
  13. + name3 = libname.replace('.dylib', '.%s.dylib' % cnums[0])
  14. name2 = libname.replace('.dylib', '.%s.dylib' % cnum)
  15. else:
  16. name3 = libname + '.' + self.vnum