Skip to content

Commit b1b8a5e

Browse files
author
jkbzh
committed
Closes #84
Some C linkers require libraries to be declared after functions in that library are called, and not before. This was notably with -lm and -ltrio, where -lm had to be declared after -ltrio.
1 parent e5d42fb commit b1b8a5e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ Version Changes for Hypermail
55
HYPERMAIL VERSION 2.4.1:
66
============================
77

8+
2022-11-04 Jose Kahan
9+
* src/Makefile.in
10+
Some C linkers require libraries to be declared after functions in that library
11+
are called, and not before. This was notably with -lm and -ltrio, where -lm had
12+
to be declared after -ltrio.
13+
(closes # 84)
14+
815
2021-06-04 Baptiste Daroussin
916
* src/uudecode.c src/parse.c
1017
Fixes for memory issues detected by libasan

src/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ CPPFLAGS=@CPPFLAGS@ @INCLUDES@
4040
YACC=@YACC@
4141
NETLIBS=@LIBS@
4242
LDFLAGS=@LDFLAGS@
43-
MISC_LIBS= -lm -lpcre -ltrio
43+
MISC_LIBS= -lpcre -ltrio -lm
4444
OPT_LIBS=@EXTRA_LIBS@
4545

4646
INCS= domains.h hypermail.h lang.h proto.h \

0 commit comments

Comments
 (0)