diff options
author | Jesse Luehrs <doy@tozt.net> | 2016-05-06 03:39:37 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2016-05-06 03:39:37 -0400 |
commit | 5752866867b53739b04b28bb0c5e009371d8efd8 (patch) | |
tree | 9754a272bd8471c7397e57858ab1792e84da5e29 | |
parent | 3f299deb6da6267283a7ad02fa4572c6583eb170 (diff) | |
download | libvt100-5752866867b53739b04b28bb0c5e009371d8efd8.tar.gz libvt100-5752866867b53739b04b28bb0c5e009371d8efd8.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 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -21,7 +21,7 @@ build: $(OUT) static: $(SOUT) $(OUT): $(OBJ) - $(CC) $(ALLLDFLAGS) -fPIC -shared -o $@ $^ + $(CC) -fPIC -shared -o $@ $^ $(ALLLDFLAGS) $(SOUT): $(OBJ) $(AR) rcs $@ $^ |