Sun, 16 Jul 2017 18:55:56 -0500
meson: Link ws2_32 to prpls which need it
Various prpls need to be linked to ws2_32 for htons() and friends.
The automake build achieves this by adding it to LIBADD. This patch
manually adds it to the prpls which need it.
IRCSOURCES = [ 'cmds.c', 'dcc_send.c', 'irc.c', 'irc.h', 'msgs.c', 'parse.c' ] if STATIC_IRC irc_prpl = static_library('irc', IRCSOURCES, c_args : '-DPURPLE_STATIC_PRPL', dependencies : [sasl, libpurple_dep, glib, gio, ws2_32]) elif DYNAMIC_IRC irc_prpl = shared_library('irc', IRCSOURCES, dependencies : [sasl, libpurple_dep, glib, gio, ws2_32], install : true, install_dir : PURPLE_PLUGINDIR) endif