Navigation Menu

Skip to content

Commit

Permalink
meson: Don't try to find gio-unix on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
seungha-yang authored and nirbheek committed May 14, 2019
1 parent 66c9618 commit ad9d81d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions meson.build
Expand Up @@ -251,8 +251,11 @@ glib_deps = [dependency('glib-2.0', version : glib_req, fallback: ['glib', 'libg
dependency('gobject-2.0', fallback: ['glib', 'libgobject_dep'])]
# GIO is used by the GIO plugin, and by the TCP, SDP, and RTSP plugins
gio_dep = dependency('gio-2.0', fallback: ['glib', 'libgio_dep'])
giounix_dep = dependency('gio-unix-2.0', version : glib_req, required : host_system != 'windows',
fallback: ['glib', 'libgiounix_dep'])
giounix_dep = dependency('', required: false)
if host_system != 'windows'
giounix_dep = dependency('gio-unix-2.0', version : glib_req,
fallback: ['glib', 'libgiounix_dep'])
endif
gmodule_dep = dependency('gmodule-no-export-2.0',
fallback: ['glib', 'libgmodule_dep'])

Expand Down

0 comments on commit ad9d81d

Please sign in to comment.