Commit d7e3c3b6 authored by Markus Hubig's avatar Markus Hubig Committed by Marek Vasut
Browse files

mxssb: Fix the ordering of the compiler command

According to http://webpages.charter.net/ppluzhnikov/linker.html

 , the
order of the libraries linked with the resulting executable on the linker
command line does matter and can cause linker to be unable to resolve
symbols if incorrect.
Signed-off-by: default avatarMarkus Hubig <mhubig@imko.de>
parent 29b35780
...@@ -2,7 +2,7 @@ CFLAGS=`pkg-config --cflags libcrypto` -Wall ...@@ -2,7 +2,7 @@ CFLAGS=`pkg-config --cflags libcrypto` -Wall
LDFLAGS=`pkg-config --libs libcrypto` LDFLAGS=`pkg-config --libs libcrypto`
mxssb: mxssb.c mxssb: mxssb.c
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
clean: clean:
rm -f mxssb rm -f mxssb
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment