blob: 7a229513b6cbe298fec23a2c3c1baf0a9624e10e [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001From b0526a9b5325bd4758dad8d14efd85c98ef2ebff Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 14 Jul 2017 18:25:23 -0700
4Subject: [PATCH] configure: Respect LIBS variable from env
5
6For musl we need to pass -lexecinfo from env
7this change accomodates that
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 configure | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/configure b/configure
15index 4286c34..f1c65db 100755
16--- a/configure
17+++ b/configure
18@@ -620,7 +620,7 @@ LIBDEFS = -DSHAREDLIB -fPIC \$(DEFS)
19 INCDIR = ./include
20 LDFLAGS = $LDFLAGS
21 DESTDIR = ../bin/monkey
22-LIBS = -ldl $libs
23+LIBS = -ldl $libs ${LIBS}
24 OBJ = monkey.o mk_method.o mk_mimetype.o mk_vhost.o mk_request.o \\
25 mk_header.o mk_config.o mk_signals.o \\
26 mk_user.o mk_utils.o mk_epoll.o mk_scheduler.o \\
27--
282.13.3
29