mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 01:19:16 +08:00
d1904c8625
* [gdk-pixbuf] Update to 2.42.8 (microsoft#24426) * [gdk-pixbuf] Regenerate patch (microsoft#24426) * [gdk-pixbuf] Use enabled/disabled for features (microsoft#24426) * [gdk-pixbuf] Add glib-compile-resources to the used binary list (microsoft#24426) * [gdk-pixbuf] Remove obsolete patch (microsoft#24426) * [gdk-pixbuf] regenerate version registries (microsoft#24426)
20 lines
540 B
Diff
20 lines
540 B
Diff
--- a/meson.build
|
|
+++ b/meson.build
|
|
@@ -90,8 +90,14 @@
|
|
gdk_pixbuf_conf.set('HAVE_ROUND', 1)
|
|
endif
|
|
|
|
-if cc.has_function('lrint', dependencies: mathlib_dep)
|
|
- gdk_pixbuf_conf.set('HAVE_LRINT', 1)
|
|
+if cc.get_id() == 'msvc'
|
|
+ if cc.has_function('lrint', dependencies: mathlib_dep, args: '-Oi-')
|
|
+ gdk_pixbuf_conf.set('HAVE_LRINT', 1)
|
|
+ endif
|
|
+else
|
|
+ if cc.has_function('lrint', dependencies: mathlib_dep)
|
|
+ gdk_pixbuf_conf.set('HAVE_LRINT', 1)
|
|
+ endif
|
|
endif
|
|
|
|
intl_dep = cc.find_library('intl', required: false)
|