diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-06 03:43:07 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-06 03:43:07 -0400 |
commit | 626525986b0a55c2ed1d72e8f76a49b31efabd52 (patch) | |
tree | 798c84a472708fd330bfa5244de685d590f5672f | |
parent | d8de03f6db3d02761e1695c59b1b93bd798170e7 (diff) | |
download | runes-626525986b0a55c2ed1d72e8f76a49b31efabd52.tar.gz runes-626525986b0a55c2ed1d72e8f76a49b31efabd52.zip |
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
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |