Add missing gthread-2.0 linkage.

gthread-2.0 linkage is required for g_thread_init when compiling with
glib 2.32.4.

BUG=chromium-os:34103
TEST=`emerge metrics` with glib 2.30.2 and 2.32.4

Change-Id: Id6ef58ee568989123fc563af47e2670066d01b93
Reviewed-on: https://gerrit.chromium.org/gerrit/32507
Reviewed-by: Darin Petkov <petkov@chromium.org>
Commit-Ready: Ben Chan <benchan@chromium.org>
Tested-by: Ben Chan <benchan@chromium.org>
This commit is contained in:
Ben Chan 2012-09-06 22:28:47 -07:00 committed by Gerrit
parent 564c69f4f1
commit 9cd8b8cbab
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@
BASE_VER ?= 125070
PKG_CONFIG ?= pkg-config
PC_DEPS = dbus-1 glib-2.0 dbus-glib-1 \
PC_DEPS = dbus-1 glib-2.0 gthread-2.0 dbus-glib-1 \
libchrome-$(BASE_VER) libchromeos-$(BASE_VER)
PC_CFLAGS := $(shell $(PKG_CONFIG) --cflags $(PC_DEPS))
LDLIBS := $(shell $(PKG_CONFIG) --libs $(PC_DEPS))