Test requirements don't work, add pkg-config to run deps.
The libhackrf package should only be used as a host dependency, so
adding pkg-config as a run dep of libhackrf doesn't add an unnecessary
runtime dependency for runtime users of the library (libhackrf0).
@@ -28,10 +28,6 @@ requirements:
- libusb-cos6 # [linux and cdt_name=='cos6']
- pthreads-win32 # [win]
-test:
- requires:
- - pkg-config
-
outputs:
- name: libhackrf{{ lib_major_version }}
script: install.sh # [unix]
@@ -69,6 +65,7 @@ outputs:
- {{ pin_subpackage('libhackrf' + lib_major_version, exact=True) }}
run:
- {{ pin_subpackage('libhackrf' + lib_major_version, exact=True) }}
+ - pkg-config
test:
commands:
# verify that headers get installed
