Jean-Baptiste Kempf pushed to branch master at VideoLAN / libbluray


Commits:
8e5ef374 by Steve Lhomme at 2025-08-25T16:11:15+02:00
Link with gdi32 when using freetype in Windows

It's calling EnumFontFamiliesExW().

- - - - -


1 changed file:

- src/meson.build


Changes:

=====================================
src/meson.build
=====================================
@@ -65,6 +65,12 @@ if host_machine.system() == 'windows'
         'file/file_win32.c',
         'file/mount.c',
     )
+
+    if freetype_dependency.found()
+        # for EnumFontFamiliesExW
+        extra_dependencies += cc.find_library('gdi32')
+    endif
+
 elif host_machine.system() == 'darwin'
     libbluray_src += files(
         'file/dir_posix.c',



View it on GitLab: 
https://code.videolan.org/videolan/libbluray/-/commit/8e5ef374c8ff3603a8ed4e1f48d4d5399e2e8044

-- 
View it on GitLab: 
https://code.videolan.org/videolan/libbluray/-/commit/8e5ef374c8ff3603a8ed4e1f48d4d5399e2e8044
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
libbluray-devel mailing list
[email protected]
https://mailman.videolan.org/listinfo/libbluray-devel

Reply via email to