From 398928ea445f76ed37d1cc77cef6ae2ca85b7a0d Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 6 Jun 2012 18:32:33 -0700 Subject: libzypp: Define OECMAKE_CXX_LINK_FLAGS when compiling for uclibc Signed-off-by: Khem Raj --- meta/recipes-extended/libzypp/libzypp_git.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta/recipes-extended') diff --git a/meta/recipes-extended/libzypp/libzypp_git.bb b/meta/recipes-extended/libzypp/libzypp_git.bb index ca32e7304e..471ee1d690 100644 --- a/meta/recipes-extended/libzypp/libzypp_git.bb +++ b/meta/recipes-extended/libzypp/libzypp_git.bb @@ -49,8 +49,7 @@ FILES_${PN}-pkgmgt = "${bindir}/package-manager \ " EXTRA_OECMAKE += " -DLIB=${@os.path.basename('${libdir}')}" - -LDFLAGS += "-lpthread" +OECMAKE_CXX_LINK_FLAGS_libc-uclibc += "-pthread" PACKAGE_ARCH = "${MACHINE_ARCH}" -- cgit v1.2.3