mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Fix bug in VSProject when no LIBPATH in env
This commit is contained in:
@@ -693,8 +693,11 @@ class _ProjectGenerator(object):
|
|||||||
props = ''
|
props = ''
|
||||||
props += self.makeListTag(xsorted(config.env['LIBS']),
|
props += self.makeListTag(xsorted(config.env['LIBS']),
|
||||||
' ', 'AdditionalDependencies', '', True)
|
' ', 'AdditionalDependencies', '', True)
|
||||||
props += self.makeListTag(self.relPaths(xsorted(config.env['LIBPATH'])),
|
try:
|
||||||
' ', 'AdditionalLibraryDirectories', '', True)
|
props += self.makeListTag(self.relPaths(xsorted(config.env['LIBPATH'])),
|
||||||
|
' ', 'AdditionalLibraryDirectories', '', True)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
f.write(props)
|
f.write(props)
|
||||||
f.write(LINKSWITCHES.getXml(xsorted(config.env['LINKFLAGS']), ' '))
|
f.write(LINKSWITCHES.getXml(xsorted(config.env['LINKFLAGS']), ' '))
|
||||||
f.write(' </Link>\r\n')
|
f.write(' </Link>\r\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user