Use run exports
@@ -24,6 +24,8 @@ outputs:
- cmake
- make # [unix]
- ninja # [win]
+ run_exports:
+ - {{ pin_subpackage('soci-core', max_pin='x.x') }}
test:
commands:
- test -f ${PREFIX}/lib/libsoci_core.so # [linux]
@@ -47,8 +49,10 @@ outputs:
- soci-core
- sqlite
run:
- - soci-core
- - sqlite
+ # even though soci-core has a_run exports section
+ # it seems that it is not taken into account when rendering
+ # the recipe.
+ - {{ pin_compatible('soci-core', max_pin='x.x') }}
test:
commands:
@@ -73,8 +77,10 @@ outputs:
- soci-core
- mysql-devel
run:
- - soci-core
- - mysql
+ # even though soci-core has a_run exports section
+ # it seems that it is not taken into account when rendering
+ # the recipe.
+ - {{ pin_compatible('soci-core', max_pin='x.x') }}
test:
commands:
@@ -99,8 +105,12 @@ outputs:
- soci-core
- libpq
run:
- - soci-core
- - libpq
+ # libpq does not have a run_exports section
+ - {{ pin_compatible('libpq', max_pin='x.x') }}
+ # even though soci-core has a_run exports section
+ # it seems that it is not taken into account when rendering
+ # the recipe.
+ - {{ pin_compatible('soci-core', max_pin='x.x') }}
test:
commands:
- test -f ${PREFIX}/lib/libsoci_postgresql.so # [linux]
