8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c33e64 commit adfcf86Copy full SHA for adfcf86
pythonforandroid/recipes/netifaces/__init__.py
@@ -10,12 +10,8 @@ class NetifacesRecipe(CompiledComponentsPythonRecipe):
10
11
def get_recipe_env(self, arch=None):
12
env = super(NetifacesRecipe, self).get_recipe_env(arch)
13
- env['PYTHON_ROOT'] = self.ctx.get_python_install_dir()
14
- env['CFLAGS'] += ' -I' + env['PYTHON_ROOT'] + '/include/python2.7'
15
# Set linker to use the correct gcc
16
env['LDSHARED'] = env['CC'] + ' -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions'
17
- env['LDFLAGS'] += ' -L' + env['PYTHON_ROOT'] + '/lib' + \
18
- ' -lpython2.7'
19
return env
20
21
recipe = NetifacesRecipe()
0 commit comments