danfruehauf / NetworkManager-ssh

SSH VPN integration for NetworkManager
Other
253 stars 40 forks source link

build: specify GLib version #80

Closed lkundrak closed 5 years ago

lkundrak commented 5 years ago

Otherwise features getting deprecated from glib break the build:

nm-ssh-service.c: In function ‘nm_ssh_plugin_class_init’: nm-ssh-service.c:1479:2: error: ‘g_type_class_add_private’ is deprecated [-Werror=deprecated-declarations]

2.26 was chosen pretty arbitrarily -- we do build just fine with that version and it's the first one that seems to define a version macro.