make: Update linker parameter order

On Ubuntu the library link directive must come last for the libudev
references to be satisfied.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
Bjorn Andersson
2018-03-12 14:26:47 -07:00
parent 1706d305ab
commit 7a5b4334a1

View File

@@ -18,7 +18,7 @@ $(CLIENT): $(CLIENT_OBJS)
$(CC) $(LDFLAGS) -o $@ $^
$(CDBA): $(CDBA_OBJS)
$(CC) $(LDFLAGS) -o $@ $^
$(CC) -o $@ $^ $(LDFLAGS)
clean:
rm -f $(CLIENT) $(CLIENT_OBJS) $(CDBA_OBJS)