File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -860,6 +860,8 @@ class CompiledComponentsPythonRecipe(PythonRecipe):
860860
861861 def get_recipe_env (self , arch ):
862862 env = super (CompiledComponentsPythonRecipe , self ).get_recipe_env (arch )
863+ env ['LDFLAGS' ] += ' -lpython2.7'
864+ env ['LD_LIBRARY_PATH' ] = "/data/data/{}/lib" .format (self .ctx .appId )
863865 env ['LDSHARED' ] = env ['CC' ] + ' -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions'
864866 return env
865867
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ def get_recipe_env(self, arch=None):
1515 recipe = self .get_recipe ('libffi' , self .ctx )
1616 dirs = recipe .get_include_dirs (arch )
1717 env ['CFLAGS' ] += '' .join ([' -I' + dir for dir in dirs ])
18- env ['LD_LIBRARY_PATH' ] = "/data/data/{}/lib" .format (self .ctx .appId )
1918 return env
2019
2120
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ def get_recipe_env(self, arch):
2424 env ['CFLAGS' ] += (' -include unistd-common.h' +
2525 '' .join ([' -I' + dir for dir in dirs ]))
2626 env ['OPENSSL_VERSION' ] = recipe .version
27- env ['LD_LIBRARY_PATH' ] = "/data/data/{}/lib" .format (self .ctx .appId )
2827 return env
2928
3029
You can’t perform that action at this time.
0 commit comments