craftr-build / craftr-build-4.x

Frontend for the Craftr build framework.
https://craftr-build.github.io/craftr/
Other
60 stars 14 forks source link

Add a pkg-config loader type #131

Closed NiklasRosenstein closed 7 years ago

NiklasRosenstein commented 7 years ago

The pkg_config() function is now available from craftr.loaders.

try:
  curl = pkg_config('libcurl')
except pkg_config.Error:
  # compile from source instead