summaryrefslogtreecommitdiffstats
path: root/spice-common
diff options
context:
space:
mode:
authorJeremy White <jwhite@codeweavers.com>2015-07-27 15:32:47 -0500
committerJeremy White <jwhite@codeweavers.com>2015-07-28 10:12:46 -0500
commit04d9d790132127ae3b70dd86c1a7e914498d9dab (patch)
tree820ce928809aae3cab938c548961421e4580f4dd /spice-common
parent40537f6a3e3389b8377b0ae790c62ea0da8aa6d8 (diff)
downloadspice-04d9d790132127ae3b70dd86c1a7e914498d9dab.tar.gz
spice-04d9d790132127ae3b70dd86c1a7e914498d9dab.tar.xz
spice-04d9d790132127ae3b70dd86c1a7e914498d9dab.zip
Add libraries such as -lm and -lpthread to the tests build line.
This prevents a compile error on Debian Jessie, from git, such as this: /usr/bin/ld: test_playback.o: undefined reference to symbol 'sin@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line This is fairly subtle, and Debian specific. It only happens when you use autoreconf to generate a new libtool script. Debian patches that script to require an explicit setting to link with all dependent libraries. It should be harmless on other distros, and it does save us Debian guys some hassle.
Diffstat (limited to 'spice-common')
0 files changed, 0 insertions, 0 deletions