mirror of
https://github.com/bobwen-dev/hunter
synced 2025-04-12 00:55:41 +02:00
fix travis crossbuild
This commit is contained in:
parent
ade3b7f08f
commit
96b7363fef
@ -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"
|
||||
|
4
Cross.toml
Normal file
4
Cross.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[build.env]
|
||||
passthrough = [
|
||||
"PKG_CONFIG_ALLOW_CROSS",
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user