Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | From b0526a9b5325bd4758dad8d14efd85c98ef2ebff Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Fri, 14 Jul 2017 18:25:23 -0700 |
| 4 | Subject: [PATCH] configure: Respect LIBS variable from env |
| 5 | |
| 6 | For musl we need to pass -lexecinfo from env |
| 7 | this change accomodates that |
| 8 | |
| 9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 10 | --- |
| 11 | configure | 2 +- |
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 | |
| 14 | diff --git a/configure b/configure |
| 15 | index 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 | -- |
| 28 | 2.13.3 |
| 29 | |