Ticket #42776: installer-dcheck.py.patch
File installer-dcheck.py.patch, 822 bytes (added by okmacports@…, 11 years ago) |
---|
-
installer/dcheck.py
old new 46 46 def update_ld_output(): 47 47 # For library checks 48 48 global ld_output 49 status, ld_output = utils.run('%s -p' % os.path.join(utils.which('ldconfig'), 'ldconfig'), log_output=False) 49 # status, ld_output = utils.run('%s -p' % os.path.join(utils.which('ldconfig'), 'ldconfig'), log_output=False) 50 status, ld_output = utils.run('%s /opt/local/lib' % os.path.join(utils.which('find'), 'find'), log_output=False) 50 51 51 52 if status != 0: 52 53 log.debug("ldconfig failed.") … … 355 356 return Image.VERSION 356 357 357 358 def get_libpthread_version(): 359 return '-' #built-in for Darwin 358 360 try: 359 361 import sys, ctypes, ctypes.util 360 362 except ImportError: