diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-08-10 16:04:10 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-08-10 16:04:10 +0200 |
commit | 2e684d2f4e663a5c7469d4b2b831b336af35126d (patch) | |
tree | 77fdc186d7b1bbe5936d8a6396c7f015773cad87 /cmake/Win64Depends.sh | |
parent | 57739ff81e6de71080a7983811daa9d4a5a8a4a3 (diff) | |
download | tdv-2e684d2f4e663a5c7469d4b2b831b336af35126d.tar.gz tdv-2e684d2f4e663a5c7469d4b2b831b336af35126d.tar.xz tdv-2e684d2f4e663a5c7469d4b2b831b336af35126d.zip |
Clean up cross-compilation
Diffstat (limited to 'cmake/Win64Depends.sh')
-rw-r--r-- | cmake/Win64Depends.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cmake/Win64Depends.sh b/cmake/Win64Depends.sh index 25cab88..9a13177 100644 --- a/cmake/Win64Depends.sh +++ b/cmake/Win64Depends.sh @@ -54,13 +54,12 @@ configure() { glib-compile-schemas share/glib-2.0/schemas wine64 bin/gdk-pixbuf-query-loaders.exe \ > lib/gdk-pixbuf-2.0/2.10.0/loaders.cache - - # 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 } -mkdir -p win32-depends -cd win32-depends +# This directory name matches the prefix in .pc files, so we don't need to +# modify them (pkgconf has --prefix-variable, but CMake can't pass that option) +mkdir -p mingw64 +cd mingw64 dbsync fetch mingw-w64-x86_64-gtk3 mingw-w64-x86_64-icu \ mingw-w64-x86_64-libwinpthread-git # because we don't do "provides"? |