[gtk/wip.win32.fixes: 8/17] build: Fix Broadway configuration on Windows




commit 44018f1c2f4fc8ebde08f43b0ae00ae8a8a648e4
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Jun 21 10:22:28 2021 +0800

    build: Fix Broadway configuration on Windows
    
    We ought to use cc.find_library(...), as find_library() has been
    disallowed on later Meson releases.

 gdk/broadway/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gdk/broadway/meson.build b/gdk/broadway/meson.build
index 530dcd99ef..ef7fa0ef58 100644
--- a/gdk/broadway/meson.build
+++ b/gdk/broadway/meson.build
@@ -64,7 +64,7 @@ libgdk_broadway = static_library('gdk-broadway',
 
 # gtk4-broadwayd
 
-broadwayd_syslib = os_win32 ? find_library('ws2_32') : shmlib
+broadwayd_syslib = os_win32 ? cc.find_library('ws2_32') : shmlib
 
 executable('gtk4-broadwayd',
   sources: [


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