Ticket #49074: patch-chromium_tbd_libraries.diff
File patch-chromium_tbd_libraries.diff, 854 bytes (added by ramundsen85, 9 years ago) |
---|
-
qtwebengine/src/3rdparty/chromium/tools/gyp/pylib/gyp/xcode_emulation.py
old new 984 984 sdk_root = self._SdkPath(config_name) 985 985 if not sdk_root: 986 986 sdk_root = '' 987 return l.replace('$(SDKROOT)', sdk_root) 987 library = l.replace('$(SDKROOT)', sdk_root) 988 if l.startswith('$(SDKROOT)'): 989 basename, ext = os.path.splitext(library) 990 if ext == '.dylib' and not os.path.exists(library): 991 tbd_library = basename + '.tbd' 992 if os.path.exists(tbd_library): 993 library = tbd_library 994 return library 988 995 989 996 def AdjustLibraries(self, libraries, config_name=None): 990 997 """Transforms entries like 'Cocoa.framework' in libraries into entries like