mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 22:30:22 +00:00
Merge branch 'mingw' into 'main'
Cross-building with mingw & fixes See merge request GNOME/gtk!4341
This commit is contained in:
commit
3a8e45963f
@ -109,6 +109,29 @@ release-build:
|
|||||||
- ninja -C _build
|
- ninja -C _build
|
||||||
- .gitlab-ci/run-tests.sh _build x11
|
- .gitlab-ci/run-tests.sh _build x11
|
||||||
|
|
||||||
|
fedora-mingw64:
|
||||||
|
extends: .build-fedora-default
|
||||||
|
stage: build
|
||||||
|
needs: []
|
||||||
|
before_script:
|
||||||
|
- sudo dnf install -y
|
||||||
|
mingw64-filesystem
|
||||||
|
mingw64-gcc
|
||||||
|
mingw64-binutils
|
||||||
|
mingw64-cairo
|
||||||
|
mingw64-gdk-pixbuf
|
||||||
|
mingw64-gstreamer1-plugins-bad-free
|
||||||
|
mingw64-glib2
|
||||||
|
mingw64-libepoxy
|
||||||
|
mingw64-pango
|
||||||
|
# mingw64-graphene (rawhide)
|
||||||
|
script:
|
||||||
|
- .gitlab-ci/show-info-linux.sh
|
||||||
|
- meson subprojects update
|
||||||
|
- mkdir _build && cd _build
|
||||||
|
- mingw64-meson -Dintrospection=disabled -Dgraphene:introspection=disabled
|
||||||
|
- ninja
|
||||||
|
|
||||||
installed-tests:
|
installed-tests:
|
||||||
extends: .build-fedora-default
|
extends: .build-fedora-default
|
||||||
stage: build
|
stage: build
|
||||||
|
@ -6,6 +6,8 @@ gtk_tests_export_dynamic_ldflag = []
|
|||||||
if cc.get_id() != 'msvc'
|
if cc.get_id() != 'msvc'
|
||||||
if os_darwin
|
if os_darwin
|
||||||
gtk_tests_export_dynamic_ldflag = ['-Wl,-export_dynamic']
|
gtk_tests_export_dynamic_ldflag = ['-Wl,-export_dynamic']
|
||||||
|
elif os_win32
|
||||||
|
gtk_tests_export_dynamic_ldflag = ['-Wl,--export-all-symbols']
|
||||||
else
|
else
|
||||||
gtk_tests_export_dynamic_ldflag = ['-Wl,--export-dynamic']
|
gtk_tests_export_dynamic_ldflag = ['-Wl,--export-dynamic']
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user