From efd009594b0d513dd570d2f13ff40ec346c46ef8 Mon Sep 17 00:00:00 2001 From: Michael Santos Date: Tue, 31 Oct 2017 10:09:01 -0400 Subject: [PATCH] makefile: fix static target --- Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 08ff570..a54a13e 100644 --- a/Makefile +++ b/Makefile @@ -46,11 +46,10 @@ $(PROG): static: $(CC) $(CFLAGS) -g -Wall -o xmppipe src/*.c -Wl,--no-as-needed \ - -ldl -lz \ - /usr/local/lib/libstrophe.a \ - /usr/lib/*/libssl.a \ - /usr/lib/*/libcrypto.a \ - /usr/lib/*/libexpat.a + -ldl -lz -lresolv \ + -l:libstrophe.a \ + -l:libssl.a -l:libcrypto.a \ + -l:libexpat.a clean: -@$(RM) $(PROG)