diff --git a/.travis.yml b/.travis.yml index 2e46a0a..a3a5210 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,7 @@ install: - command -v cross || cargo install cross script: - - cross build --target $TARGET ${TRAVIS_TAG:+"--release"} + - PKG_CONFIG_ALLOW_CROSS=1 cross build --target $TARGET ${TRAVIS_TAG:+"--release"} before_deploy: - name="hunter-$TRAVIS_BRANCH-$ARCH" diff --git a/Cross.toml b/Cross.toml new file mode 100644 index 0000000..7f13b57 --- /dev/null +++ b/Cross.toml @@ -0,0 +1,4 @@ +[build.env] +passthrough = [ + "PKG_CONFIG_ALLOW_CROSS", +] \ No newline at end of file