Skip to content

Commit adfcf86

Browse files
author
Pol Canelles
committed
Removes the include and link paths for python2
1 parent 7c33e64 commit adfcf86

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pythonforandroid/recipes/netifaces/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@ class NetifacesRecipe(CompiledComponentsPythonRecipe):
1010

1111
def get_recipe_env(self, arch=None):
1212
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'
1513
# Set linker to use the correct gcc
1614
env['LDSHARED'] = env['CC'] + ' -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions'
17-
env['LDFLAGS'] += ' -L' + env['PYTHON_ROOT'] + '/lib' + \
18-
' -lpython2.7'
1915
return env
2016

2117
recipe = NetifacesRecipe()

0 commit comments

Comments
 (0)