[gimp/wip/Jehan/native-win64-build] Build from the build dir.



commit 37db106a5ed417806ca54a20797ef7a8eff2e5cc
Author: Jehan <jehan girinstud io>
Date:   Mon May 3 21:12:13 2021 +0200

    Build from the build dir.
    
    The other way around should work too, so pretty sure it's not the
    problem, but just in case. Maybe this way is broken on Windows?

 build/windows/build-msys2.sh | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)
---
diff --git a/build/windows/build-msys2.sh b/build/windows/build-msys2.sh
index bfba35f182..60dd59e84a 100644
--- a/build/windows/build-msys2.sh
+++ b/build/windows/build-msys2.sh
@@ -97,16 +97,19 @@ export XDG_DATA_DIRS="${GIMP_PREFIX}/share:/mingw64/share/"
 git clone --depth=${GIT_DEPTH} https://gitlab.gnome.org/GNOME/babl.git _babl
 git clone --depth=${GIT_DEPTH} https://gitlab.gnome.org/GNOME/gegl.git _gegl
 
-cd _babl
-git apply ../build/windows/patches/0001-Introspection-in-verbose-mode.patch
-meson -Dprefix="${GIMP_PREFIX}" -Dwith-docs=false _build
-ninja -v -C _build
-ninja -C _build install
-cd ../_gegl
-meson -Dprefix="${GIMP_PREFIX}" -Ddocs=false _build
-ninja -C _build
-ninja -C _build install
-cd ..
+mkdir _babl/_build
+cd _babl/_build
+git apply ../../build/windows/patches/0001-Introspection-in-verbose-mode.patch
+meson -Dprefix="${GIMP_PREFIX}" -Dwith-docs=false ..
+ninja -v
+ninja install
+
+mkdir ../../_gegl/_build
+cd ../../_gegl/_build
+meson -Dprefix="${GIMP_PREFIX}" -Ddocs=false ..
+ninja
+ninja install
+cd ../..
 
 # Build
 ccache --zero-stats


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]