From 982c00ffa9b47a3e7a8875e547f78feff0542d5b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 18 Oct 2017 19:02:39 +0200 Subject: Fix use of LIBFLAGS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 80eebc6..1e52078 100644 --- a/Makefile +++ b/Makefile @@ -109,7 +109,7 @@ $(OBJ): $(HDR) $(CC) -fPIC -c -o $@ $< $(CFLAGS) $(CPPFLAGS) libkeccak.$(LIBEXT): $(OBJ) - $(CC) -shared -Wl,-soname,libkeccak.$(LIBEXT).$(LIB_MAJOR) -o $@ $^ $(LDFLAGS) + $(CC) $(LIBFLAGS) $@ $^ $(LDFLAGS) libkeccak.a: $(OBJ) $(AR) rc $@ $? -- cgit v1.2.3-70-g09d2