summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Sales de Andrade <qulogic@pidgin.im>2019-10-07 03:37:12 -0400
committerElliott Sales de Andrade <qulogic@pidgin.im>2019-10-07 03:37:12 -0400
commit4cf22272d3b53b9aa0657a61333f02007f5817f1 (patch)
tree0be8e30b9b0ece062170f488c20ec118db9650e5
parent1be85588b3333b91d083dd5966a3629aa820174a (diff)
downloadpidgin-4cf22272d3b53b9aa0657a61333f02007f5817f1.tar.gz
Link Finch against winmm.
-rw-r--r--finch/meson.build7
1 files changed, 4 insertions, 3 deletions
diff --git a/finch/meson.build b/finch/meson.build
index 89c4b845c7..302a7ee74c 100644
--- a/finch/meson.build
+++ b/finch/meson.build
@@ -144,8 +144,7 @@ finch_SOURCES = [
]
if IS_WIN32
-# libfinch_la_LIBADD += \
-# -lwinmm
+ winmm = compiler.find_library('winmm')
finch_winres = configure_file(
input : 'finch_winres.rc.in',
@@ -157,6 +156,8 @@ if IS_WIN32
output : 'libfinch_winres.rc',
configuration : version_conf)
libfinch_SOURCES += windows.compile_resources(libfinch_winres)
+else
+ winmm = []
endif
if enable_consoleui
@@ -168,7 +169,7 @@ if enable_consoleui
c_args : ['-DSTANDALONE', '-DGNTSEAL_ENABLE', ncurses_header],
include_directories : [toplevel_inc],
version : PURPLE_LIB_VERSION,
- dependencies : [libpurple_dep, libgnt_dep, ncurses, glib],
+ dependencies : [libpurple_dep, libgnt_dep, ncurses, glib, winmm],
install : true)
libfinch_dep = declare_dependency(
include_directories : [toplevel_inc, libfinch_inc],