Skip to content

Commit

Permalink
Include default libvendorconn
Browse files Browse the repository at this point in the history
  • Loading branch information
AeonLucid committed Sep 2, 2021
1 parent ef6430e commit 17904a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include README.md
include LICENSE.txt
include requirements.txt
recursive-exclude tests *
recursive-exclude tests *
recursive-include src/androidemu *.so
Binary file added src/androidemu/libs/libvendorconn_32.so
Binary file not shown.
2 changes: 1 addition & 1 deletion src/androidemu/native/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def dlopen(self, uc, path):
logger.debug("Called dlopen(%s)" % path)

if path == 'libvendorconn.so':
lib = os.path.realpath(os.path.join(__file__, '..', '..', '..', '..', 'examples', 'example_binaries', 'libvendorconn.so'))
lib = os.path.realpath(os.path.join(os.path.dirname(__file__), '..', 'libs', 'libvendorconn_32.so'))
mod = self._emu.load_library(lib)

return mod.base
Expand Down

0 comments on commit 17904a3

Please sign in to comment.