File tree Expand file tree Collapse file tree
bootstraps/sdl2/build/src/main/java/org/kivy/android Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,8 +41,9 @@ protected static ArrayList<String> getLibraries(File filesDir) {
4141 libsList .add ("SDL2_image" );
4242 libsList .add ("SDL2_mixer" );
4343 libsList .add ("SDL2_ttf" );
44- addLibraryIfExists (libsList , "ssl.*" , libsDir );
45- addLibraryIfExists (libsList , "crypto.*" , libsDir );
44+ addLibraryIfExists (libsList , "ssl" , libsDir );
45+ addLibraryIfExists (libsList , "crypto" , libsDir );
46+ addLibraryIfExists (libsList , "ffi" , libsDir );
4647 libsList .add ("python2.7" );
4748 libsList .add ("python3.5m" );
4849 libsList .add ("main" );
Original file line number Diff line number Diff line change 55import glob
66from shutil import rmtree
77from six import PY2 , with_metaclass
8-
98import hashlib
109from re import match
1110
@@ -556,15 +555,15 @@ def clean_build(self, arch=None):
556555
557556 def install_libs (self , arch , * libs , ** links ):
558557 libs_dir = self .ctx .get_libs_dir (arch .arch )
559- if not libs :
560- warning ('install_libs called with no libraries to install!' )
561- return
562- args = libs + (libs_dir ,)
563- shprint (sh .cp , * args )
564558 if links :
565- with current_directory (libs_dir ):
566- for lib , link in links .iteritems ():
567- shprint (sh .ln , '-s' , lib , link )
559+ for lib , link in links .iteritems ():
560+ shprint (sh .cp , lib , join (libs_dir , link ))
561+ else :
562+ if not libs :
563+ warning ('install_libs called with no libraries to install!' )
564+ return
565+ args = libs + (libs_dir ,)
566+ shprint (sh .cp , * args )
568567
569568 def has_libs (self , arch , * libs ):
570569 return all (map (lambda l : self .ctx .has_lib (arch .arch , l ), libs ))
You can’t perform that action at this time.
0 commit comments