Skip to content

Commit

Permalink
gnustl_shared is only for android
Browse files Browse the repository at this point in the history
  • Loading branch information
Tici committed Mar 26, 2020
1 parent b0c746b commit 5908762
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion messaging/messaging_pyx_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def get_ext_filename(self, ext_name):
libraries = ['zmq']
ARCH = subprocess.check_output(["uname", "-m"], encoding='utf8').rstrip() # pylint: disable=unexpected-keyword-arg

if ARCH == "aarch64":
if ARCH == "aarch64" and os.path.isdir("/system"):
# android
extra_compile_args += ["-Wno-deprecated-register"]
libraries += ['gnustl_shared']

Expand Down

0 comments on commit 5908762

Please sign in to comment.