Skip to content

Commit bb6c8c5

Browse files
committed
fixed issue
1 parent fdb693c commit bb6c8c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@
3030
if PLATFORM in {'linux', 'darwin'}:
3131
if environ.get('PYTHON_BLADERF_CFLAGS', None) is None:
3232
try:
33-
new_cflags = subprocess.check_output(['pkg-config', '--cflags', 'libbladerf']).decode('utf-8').strip()
33+
new_cflags = subprocess.check_output(['pkg-config', '--cflags', 'libbladeRF']).decode('utf-8').strip()
3434
except Exception:
3535
raise RuntimeError('Unable to run pkg-config. Set cflags manually export PYTHON_BLADERF_CFLAGS=') from None
3636
else:
3737
new_cflags = environ.get('PYTHON_BLADERF_CFLAGS', '')
3838

3939
if environ.get('PYTHON_BLADERF_LDFLAGS', None) is None:
4040
try:
41-
new_ldflags = subprocess.check_output(['pkg-config', '--libs', 'libbladerf']).decode('utf-8').strip()
41+
new_ldflags = subprocess.check_output(['pkg-config', '--libs', 'libbladeRF']).decode('utf-8').strip()
4242
except Exception:
4343
raise RuntimeError('Unable to run pkg-config. Set libs manually export PYTHON_BLADERF_LDFLAGS=') from None
4444
else:

0 commit comments

Comments
 (0)