Browse Source

Revise previous commit, keep a *.0.dylib present

tags/v1.9.17
falkTX 8 months ago
parent
commit
dc6c9959ed
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      waflib/Tools/ccroot.py

+ 2
- 1
waflib/Tools/ccroot.py View File

@@ -578,7 +578,8 @@ def apply_vnum(self):

libname = node.name
if libname.endswith('.dylib'):
name3 = name2 = libname.replace('.dylib', '.%s.dylib' % cnum)
name3 = libname.replace('.dylib', '.%s.dylib' % cnums[0])
name2 = libname.replace('.dylib', '.%s.dylib' % cnum)
else:
name3 = libname + '.' + self.vnum
name2 = libname + '.' + cnum


Loading…
Cancel
Save