BUILD: Makefile: include librt before libpthread
authorWilly Tarreau <w@1wt.eu>
Wed, 4 Mar 2020 07:31:47 +0000 (08:31 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 May 2020 15:09:20 +0000 (17:09 +0200)
commiteb5a671c346f76918c63da5bc1cf9f8aa3454929
tree3d8db45676c72c0e3cb8b35005f49ccfd698f576
parent5ea6f15e8469d83998a39f28070de47cb8a99c3a
BUILD: Makefile: include librt before libpthread

Statically building on for i386/x86_64 on linux+glibc 2.18 fails in rt with
undefined references to pthread_attr_init and a few others. Let's just swap
the two libs in order to fix this.

(cherry picked from commit c0bbdc196ded7b6d28221ca9b96f0cf8b41203ab)
Signed-off-by: Willy Tarreau <w@1wt.eu>
Makefile