CHROMIUM: use -lmetrics

metrics-$BASE_VER will have its suffix $BASE_VER removed.

BUG=chromium:920513
TEST=CQ

Change-Id: I287b4bb23ce5b7330147684b31dfcd20e0e5824e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/bluez/+/2336619
Reviewed-by: Hidehiko Abe <hidehiko@chromium.org>
Tested-by: Qijiang Fan <fqj@google.com>
Commit-Queue: Qijiang Fan <fqj@google.com>
diff --git a/Makefile.am b/Makefile.am
index 008e5d5..98f722a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -195,7 +195,7 @@
 src_bluetoothd_LDADD = lib/libbluetooth-internal.la \
 			gdbus/libgdbus-internal.la \
 			src/libshared-glib.la \
-			-lmetrics-$(BASE_VER) \
+			-lmetrics \
 			@BACKTRACE_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ -ldl -lrt \
 			$(builtin_ldadd)
 src_bluetoothd_LDFLAGS = $(AM_LDFLAGS) -Wl,--export-dynamic \
@@ -233,7 +233,7 @@
 unit_metrics_unittests_LDADD = lib/libbluetooth-internal.la \
 			gdbus/libgdbus-internal.la \
 			src/libshared-glib.la \
-			-lmetrics-$(BASE_VER) \
+			-lmetrics \
 			@BACKTRACE_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ -ldl -lrt \
 			$(builtin_ldadd)
 unit_metrics_unittests_LDFLAGS = $(AM_LDFLAGS) -Wl,--export-dynamic