From 626525986b0a55c2ed1d72e8f76a49b31efabd52 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 6 May 2016 03:43:07 -0400 Subject: move libs to the end of the linker flag list some operating systems (ubuntu) require this: https://askubuntu.com/questions/194193/why-do-i-get-undefined-reference-errors-when-linking-against-openssl --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 19f559d..e03bceb 100644 --- a/Makefile +++ b/Makefile @@ -40,13 +40,13 @@ run-daemon: $(DOUT) $(COUT) ## Build and run the runes daemon @./$(DOUT) $(OUT): $(OBJ) libvt100/libvt100.a - $(CC) $(ALLLDFLAGS) -o $@ $^ + $(CC) -o $@ $^ $(ALLLDFLAGS) $(DOUT): $(DOBJ) libvt100/libvt100.a - $(CC) $(ALLLDFLAGS) -o $@ $^ + $(CC) -o $@ $^ $(ALLLDFLAGS) $(COUT): $(COBJ) - $(CC) $(ALLLDFLAGS) -o $@ $^ + $(CC) -o $@ $^ $(ALLLDFLAGS) libvt100/libvt100.a: cd libvt100 && make static -- cgit v1.2.3