mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 21:48:39 +01:00
[MIRROR] Add export PKG_CONFIG_ALLOW_CROSS to PreCompile.sh (#2527)
* Add export PKG_CONFIG_ALLOW_CROSS to PreCompile.sh (#55909) From the rust-g README * Add export PKG_CONFIG_ALLOW_CROSS to PreCompile.sh Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>
This commit is contained in:
co-authored by
Jordan Brown
parent
3a87804d26
commit
76bb0c52c6
@@ -61,6 +61,7 @@ fi
|
||||
|
||||
echo "Deploying rust-g..."
|
||||
git checkout "$RUST_G_VERSION"
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
~/.cargo/bin/cargo build --release --target=i686-unknown-linux-gnu
|
||||
mv target/i686-unknown-linux-gnu/release/librust_g.so "$1/rust_g"
|
||||
cd ..
|
||||
|
||||
Reference in New Issue
Block a user