File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ def get_recipe_env(self, arch):
37
37
env ['CONFIG_SHELL' ] = '/bin/bash'
38
38
env ['SHELL' ] = '/bin/bash'
39
39
env ['CC' ] = '/usr/bin/ccache arm-linux-androideabi-gcc -DANDROID -mandroid -fomit-frame-pointer'
40
- env ['LDSHARED' ] = env ['CC' ]
40
+ env ['LDSHARED' ] = "%s -nostartfiles -shared -fPIC" % env ['CC' ]
41
41
return env
42
42
43
43
recipe = LibxsltRecipe ()
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ def get_recipe_env(self, arch):
30
30
bxsl = "/home/zgoldberg/.local/share/python-for-android/build/other_builds/libxslt/armeabi/libxslt"
31
31
targetpython = "%s/include/python2.7/" % dirname (dirname (self .ctx .hostpython ))
32
32
env ['CC' ] += " -I%s/include -I%s -I%s" % (bxml , bxsl , targetpython )
33
- env ['LDSHARED' ] = '%s -lpython2.7 -nostartfiles ' % env ['CC' ]
34
-
33
+ env ['LDSHARED' ] = '%s -nostartfiles -shared -fPIC - lpython2.7' % env ['CC' ]
34
+ print env [ 'LDSHARED' ]
35
35
return env
36
36
37
37
recipe = LXMLRecipe ()
You can’t perform that action at this time.
0 commit comments