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 3b1231d commit 96c6735Copy full SHA for 96c6735
setup.py
@@ -51,8 +51,6 @@
51
environ['CFLAGS'] = f'{cflags} {new_cflags}'.strip()
52
environ['LDFLAGS'] = f'{ldflags} {new_ldflags}'.strip()
53
54
-else:
55
- LIBHACKRF_FILES = ['python_hackrf/pylibhackrf/pyhackrf_android.pyx', 'python_hackrf/pylibhackrf/chackrf_android.pxd']
56
57
setup(
58
name='python_hackrf',
@@ -65,6 +63,7 @@
65
63
sources=LIBHACKRF_FILES,
66
64
libraries=libraries,
67
include_dirs=['python_hackrf/pylibhackrf', numpy.get_include()],
+ define_macros=[("ANDROID", PLATFORM == 'android')],
68
extra_compile_args=['-w'],
69
),
70
Extension(
0 commit comments