Update Makefile

Correct filename expression for binaries on Windows
This commit is contained in:
Korijn van Golen 2019-12-28 10:30:32 +01:00 committed by GitHub
parent 62175d5c26
commit 2beaaafc6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ package: lib-native lib-native-release
if [ $(ZIP_TOOL) = zip ]; then \
zip -j dist/$$ARCHIVE target/$$RELEASE/libwgpu_*.$(LIB_EXTENSION) ffi/*.h dist/commit-sha; \
else \
7z a -tzip dist/$$ARCHIVE ./target/$$RELEASE/libwgpu_*.$(LIB_EXTENSION) ./ffi/*.h ./dist/commit-sha; \
7z a -tzip dist/$$ARCHIVE ./target/$$RELEASE/wgpu_*.$(LIB_EXTENSION) ./ffi/*.h ./dist/commit-sha; \
fi; \
done