diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2012-08-14 10:38:34 -0700 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2012-08-14 10:50:41 -0700 |
commit | 429bfce0041403400849f1200ebc85652e65f739 (patch) | |
tree | 17cd1c562bc43a223e7c9192d3a2f199f680d833 | |
parent | 647d82b4276f4bb7e6616c21f0e7528eb7f25bc8 (diff) | |
download | vboot-429bfce0041403400849f1200ebc85652e65f739.tar.gz |
bmplk_utility: Libraries should be in end of build command.
Libraries (-llzma, -lyaml) should be in end of dependency list, otherwise
linking in static mode (-static) would fail.
BUG=none
TEST=emerge vboot_reference
Old-Change-Id: Idd072443d042edfb214f5a958abd064bc18573ed
Reviewed-on: https://gerrit.chromium.org/gerrit/29738
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org>
Commit-Ready: Hung-Te Lin <hungte@chromium.org>
(cherry picked from commit 64a2aff9622b6fca8b0d6e2ed62291a1cf38412f)
Change-Id: I35f7dda76b40d5a0d680f4abb0962ceb52cc76ce
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/30242
-rw-r--r-- | utility/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utility/Makefile b/utility/Makefile index 783b1735..128e087f 100644 --- a/utility/Makefile +++ b/utility/Makefile @@ -108,7 +108,7 @@ ${BUILD_ROOT}/bmpblk_utility: ${BUILD_ROOT}/bmpblk_utility.o \ ${BUILD_ROOT}/image_types.o \ ${BUILD_ROOT}/eficompress.o \ ${BUILD_ROOT}/efidecompress.o - $(CXX) -llzma -lyaml $(CFLAGS) $^ -o $@ + $(CXX) $(CFLAGS) $^ -o $@ -llzma -lyaml ${BUILD_ROOT}/bmpblk_font: ${BUILD_ROOT}/bmpblk_font.o \ ${BUILD_ROOT}/image_types.o |