Skip to content

Commit 46d0312

Browse files
[[ Gyp patch ]] Fix the paths generated from 'library_dirs'
1 parent 795697e commit 46d0312

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

gyp/pylib/gyp/generator/make.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,6 +1483,7 @@ def WriteTarget(self, spec, configs, deps, link_deps, bundle_deps,
14831483
ldflags.append(r'-Wl,-rpath-link=\$(builddir)/lib.%s/' %
14841484
self.toolset)
14851485
library_dirs = config.get('library_dirs', [])
1486+
library_dirs = map(Sourceify, map(self.Absolutify, library_dirs))
14861487
ldflags += [('-L%s' % library_dir) for library_dir in library_dirs]
14871488
self.WriteList(ldflags, 'LDFLAGS_%s' % configname)
14881489
if self.flavor == 'mac':

0 commit comments

Comments
 (0)