@@ -170,8 +170,8 @@ class YogiMPIWrapper(object):
170170
171171 def _showCompilerString (self ):
172172 self .compString = self .compilerName
173- self .compString += ' -I' + self .prefixDir + '/include -DYOGIMPI_ENABLED'
174- self .compString += ' -L' + self .prefixDir + '/lib -lyogimpi'
173+ self .compString += ' -I" ' + self .prefixDir + '/include" -DYOGIMPI_ENABLED'
174+ self .compString += ' -L" ' + self .prefixDir + '/lib" -lyogimpi'
175175 print (self .compString )
176176
177177 def _outputMsg (self , message ):
@@ -272,11 +272,11 @@ class YogiMPIWrapper(object):
272272 objectName = self ._stripExtension (self .sourceFile ) + '.o'
273273 self .argArray .append ('-o ' + objectName )
274274 # Lovingly add Yogi's include directories to the mix.
275- self .argArray .insert (self .sourceArgLocation , '-I' + \
276- self .prefixDir + '/include -DYOGIMPI_ENABLED' )
275+ self .argArray .insert (self .sourceArgLocation , '-I" ' + \
276+ self .prefixDir + '/include" -DYOGIMPI_ENABLED' )
277277 if self .isLinking :
278278 # Linking is happening, so add Yogi's libdir and library flags.
279- self .argArray .append ('-L' + self .prefixDir + '/lib -lyogimpi' )
279+ self .argArray .append ('-L" ' + self .prefixDir + '/lib" -lyogimpi' )
280280
281281 ## Return the entire command-line argument string. This string includes
282282 # any changes Yogi has made (so-far) to pass down instructions to the
0 commit comments