Synchronize cross-compilation scripts
This commit is contained in:
parent
d5837555b8
commit
4aeaf61c99
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
# Win64Depends.sh: download dependencies from MSYS2 for cross-compilation
|
# Win64Depends.sh: download dependencies from MSYS2 for cross-compilation.
|
||||||
# Dependencies: AWK, sed, sha256sum, cURL, bsdtar, wine64
|
# Dependencies: AWK, sed, sha256sum, cURL, bsdtar, wine64
|
||||||
repository=https://repo.msys2.org/mingw/mingw64/
|
repository=https://repo.msys2.org/mingw/mingw64/
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ configure() {
|
||||||
wine64 bin/gdk-pixbuf-query-loaders.exe \
|
wine64 bin/gdk-pixbuf-query-loaders.exe \
|
||||||
> lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
> lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||||
|
|
||||||
# pkgconf has a command line option for this, but CMake can't pass it
|
# pkgconf has a command line option for this, but CMake can't pass it.
|
||||||
sed -i "s|^prefix=/mingw64|prefix=$(pwd)|" {share,lib}/pkgconfig/*.pc
|
sed -i "s|^prefix=/mingw64|prefix=$(pwd)|" {share,lib}/pkgconfig/*.pc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -63,7 +63,7 @@ mkdir -p win32-depends
|
||||||
cd win32-depends
|
cd win32-depends
|
||||||
dbsync
|
dbsync
|
||||||
fetch mingw-w64-x86_64-gtk3 mingw-w64-x86_64-lua \
|
fetch mingw-w64-x86_64-gtk3 mingw-w64-x86_64-lua \
|
||||||
mingw-w64-x86_64-libwinpthread-git # because we don't do "provides"?
|
mingw-w64-x86_64-libwinpthread-git # Because we don't do "provides"?
|
||||||
verify
|
verify
|
||||||
extract
|
extract
|
||||||
configure
|
configure
|
||||||
|
|
Loading…
Reference in New Issue