mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Merge branch 'meson-win32-static' into 'main'
meson: Fix linking with static library in Windows See merge request GNOME/glib!2384
This commit is contained in:
commit
49ec7f18e3
@ -2296,7 +2296,7 @@ if host_system == 'windows' and cc.get_id() != 'msvc' and cc.get_id() != 'clang-
|
||||
add_project_arguments(win32_cflags, language : 'c')
|
||||
|
||||
# Win32 API libs, used only by libglib and exposed in glib-2.0.pc
|
||||
win32_ldflags = ['-lws2_32', '-lole32', '-lwinmm', '-lshlwapi']
|
||||
win32_ldflags = ['-lws2_32', '-lole32', '-lwinmm', '-lshlwapi', '-luuid']
|
||||
elif host_system == 'cygwin'
|
||||
win32_ldflags = ['-luser32', '-lkernel32']
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user