File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -8,10 +8,8 @@ all: clean rustup
8
8
$(SHLIB): $(STATLIB)
9
9
10
10
$(STATLIB):
11
- ifeq ($(TARGET),x86_64-pc-windows-gnu)
12
11
@echo Building for $(TARGET) from vendor.tar.xz sources!
13
12
if [ -f myrustlib/vendor.tar.xz ]; then tar xf myrustlib/vendor.tar.xz && mkdir -p .cargo && cp myrustlib/vendor-config.toml .cargo/config.toml; fi
14
- endif
15
13
PATH="$(USERPROFILE)\\.cargo\\bin:$(PATH)" cargo build --target=$(TARGET) --release --manifest-path=myrustlib/Cargo.toml
16
14
rm -Rf $(LIBDIR)/build
17
15
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
rm -Rf vendor vendor.tar.xz
3
3
cargo vendor
4
- rm -Rf vendor/windows_ * _gnullvm /lib/* vendor/windows_* _msvc/lib/* vendor/windows_i686* /lib/*
4
+ rm -Rf vendor/windows_x86_64_gnullvm /lib/* vendor/windows_* _msvc/lib/* vendor/windows_i686* /lib/*
5
5
XZ_OPT=-9 tar -cJ --no-xattrs -f vendor.tar.xz vendor
6
6
rm -Rf vendor
You can’t perform that action at this time.
0 commit comments