Skip to content

info: Load DbgHelp.dll using g_module_open()

Seungha Yang requested to merge seungha.yang/gstreamer:win-dbg-help into master
... and update meson file so that enable it only using required headers.

"dependency(...)" is unlikely successful for Windows SDK libraries
since it doesn't ship pkg-config file. So it needs to be changed
to "find_library()" to link corresponding .lib file. That would
result to most MSVC build system will link dbghelp.dll. However,
one drawback of the change is that gstreamer-1.0.dll will mandate
dbghelp.dll although it should be optional. So g_module_open() way
can be the most safe way in this case.

cc @nirbheek @meh

Merge request reports