Fix lib flags on update_engine scons file.
env['LIBS'] defines the list libraries that the binaries will be
linked against, passing -l and the name of the library. Instead of
hardcoding the library names, we use pkg-config when available.
BUG=None
TEST=emerge-link update_engine ; sudo emerge update_engine
TEST=Manually checked pkg-config for each one of the packages and compared with the former list.
Change-Id: Ie962cac297d2b9eb41fb244b9edfb1e693e81523
Reviewed-on: https://chromium-review.googlesource.com/203335
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
1 file changed