Skip to content

Commit 0c67e6a

Browse files
committed
Clean-up LDSHARED, fixes kivy#1360
Since kivy#1361 was merged, we can drop LDSHARED override.
1 parent 3cc0657 commit 0c67e6a

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

pythonforandroid/recipes/pycryptodome/__init__.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,5 @@ class PycryptodomeRecipe(PythonRecipe):
66
url = 'https://github.com/Legrandin/pycryptodome/archive/v{version}.tar.gz'
77
depends = ['setuptools', 'cffi']
88

9-
def get_recipe_env(self, arch=None, with_flags_in_cc=True):
10-
env = super(PycryptodomeRecipe, self).get_recipe_env(arch, with_flags_in_cc)
11-
# sets linker to use the correct gcc (cross compiler)
12-
env['LDSHARED'] = env['CC'] + ' -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions'
13-
return env
14-
159

1610
recipe = PycryptodomeRecipe()

pythonforandroid/recipes/pyleveldb/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ def get_recipe_env(self, arch):
2525
env = super(PyLevelDBRecipe, self).get_recipe_env(arch)
2626
# Copy environment from leveldb recipe
2727
env.update(self.get_recipe('leveldb', self.ctx).get_recipe_env(arch))
28-
# Set linker to use the correct gcc
29-
env['LDSHARED'] = env['CC'] + ' -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions'
3028
env['LDFLAGS'] += ' -lleveldb'
3129
return env
3230

pythonforandroid/recipes/secp256k1/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ class Secp256k1Recipe(PythonRecipe):
1919

2020
def get_recipe_env(self, arch=None, with_flags_in_cc=True):
2121
env = super(Secp256k1Recipe, self).get_recipe_env(arch, with_flags_in_cc)
22-
# sets linker to use the correct gcc (cross compiler)
23-
env['LDSHARED'] = env['CC'] + ' -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions'
2422
libsecp256k1 = self.get_recipe('libsecp256k1', self.ctx)
2523
libsecp256k1_dir = libsecp256k1.get_build_dir(arch.arch)
2624
env['LDFLAGS'] += ' -L{}'.format(libsecp256k1_dir)

0 commit comments

Comments
 (0)