File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ def generate(self):
255
255
# 1.1.0 era Makefiles don't do well with parallel installs
256
256
if self ._full_version >= "1.1.0" and self ._full_version < "1.1.1" :
257
257
tc .make_args = ["-j1" ]
258
- if self .settings_build . get_safe ( "os" ) == "Macos" and not cross_building (self ):
258
+ if self .settings . os == "Macos" and not cross_building (self ):
259
259
tc .extra_cflags = ["-isysroot {}" .format (XCRun (self ).sdk_path )]
260
260
tc .extra_cxxflags = ["-isysroot {}" .format (XCRun (self ).sdk_path )]
261
261
tc .extra_ldflags = ["-isysroot {}" .format (XCRun (self ).sdk_path )]
@@ -647,7 +647,7 @@ def _create_targets(self):
647
647
shared_target = ''
648
648
if self .settings .os == 'Neutrino' :
649
649
if self .options .shared :
650
- shared_extension = 'shared_extension => ".so.\$(SHLIB_VERSION_NUMBER)",'
650
+ shared_extension = 'shared_extension => r ".so.\$(SHLIB_VERSION_NUMBER)",'
651
651
shared_target = 'shared_target => "gnu-shared",'
652
652
if self .options .get_safe ("fPIC" , True ):
653
653
shared_cflag = 'shared_cflag => "-fPIC",'
You can’t perform that action at this time.
0 commit comments