@@ -215,7 +215,6 @@ def system_stl(self):
215
215
# TODO: proper STL support
216
216
return [
217
217
#os.path.abspath(os.path.join(self.ndk_home, 'sources', 'cxx-stl', 'system', 'include')),
218
- os .path .abspath (os .path .join (self .ndk_home , 'sources' , 'cxx-stl' , 'stlport' , 'stlport' )),
219
218
os .path .abspath (os .path .join (self .ndk_home , 'sources' , 'android' , 'support' , 'include' ))
220
219
]
221
220
@@ -346,8 +345,12 @@ def configure(conf):
346
345
conf .env .CXXFLAGS += android .cflags (True )
347
346
conf .env .LINKFLAGS += android .linkflags ()
348
347
conf .env .LDFLAGS += android .ldflags ()
349
- conf .env .STLIBPATH += [os .path .abspath (os .path .join (android .ndk_home , 'sources' ,'cxx-stl' ,'stlport' ,'libs' ,stlarch ))]
350
- conf .env .LDFLAGS += ['-lstlport_static' ]
348
+ conf .env .INCLUDES += [
349
+ os .path .abspath (os .path .join (android .ndk_home , 'sources' , 'cxx-stl' , 'gnu-libstdc++' , '4.9' , 'include' )),
350
+ os .path .abspath (os .path .join (android .ndk_home , 'sources' , 'cxx-stl' , 'gnu-libstdc++' , '4.9' , 'libs' , stlarch , 'include' ))
351
+ ]
352
+ conf .env .STLIBPATH += [os .path .abspath (os .path .join (android .ndk_home , 'sources' ,'cxx-stl' ,'gnu-libstdc++' ,'4.9' ,'libs' ,stlarch ))]
353
+ conf .env .LDFLAGS += ['-lgnustl_static' ]
351
354
352
355
conf .env .HAVE_M = True
353
356
if android .is_hardfp ():
0 commit comments