aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2010-05-31 19:37:26 +0000
committerGuy Harris <guy@alum.mit.edu>2010-05-31 19:37:26 +0000
commit61e40b5c52f40d275a9b49817187a31b0176a408 (patch)
treeaf8cc620d2e3c4e624b6032bfaa48a66d9c31a13 /Makefile.am
parent404e77beac517e000d91bed4b2cded9f24a4b2c1 (diff)
Wireshark requires routines from libm, such as ceil(), so link with it;
we shouldn't rely on getting it pulled in by other shared libraries, as 1) there's no guarantee that the other shared libraries we use are linked with it or will continue to be linked with it; 2) there's no guarantee that we're even linking dynamically; 3) it fails on Fedora 13 as part of a change to catch programs that implicitly (or explicitly) assume, in their build procedures, that they'll get libraries linked in as a result of linking with other libraries. svn path=/trunk/; revision=33028
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 597cb04ab5..3526d5d949 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -318,7 +318,7 @@ wireshark_LDADD = \
$(plugin_ldadd) \
@PCRE_LIBS@ \
@PCAP_LIBS@ \
- @GTK_LIBS@ \
+ @GTK_LIBS@ -lm \
@C_ARES_LIBS@ \
@ADNS_LIBS@ \
@KRB5_LIBS@ \