diff options
-rw-r--r-- | meta-oe/recipes-devtools/cppunit/cppunit_1.12.1.bb | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/meta-oe/recipes-devtools/cppunit/cppunit_1.12.1.bb b/meta-oe/recipes-devtools/cppunit/cppunit_1.12.1.bb index 738b5df63..6487a3a07 100644 --- a/meta-oe/recipes-devtools/cppunit/cppunit_1.12.1.bb +++ b/meta-oe/recipes-devtools/cppunit/cppunit_1.12.1.bb | |||
@@ -1,19 +1,16 @@ | |||
1 | # cppunit OE build file | 1 | DESCRIPTION = "CppUnit is a C++ unit testing framework" |
2 | # Copyright (C) 2005, Koninklijke Philips Electronics NV. All Rights Reserved | 2 | LICENSE = "LGPLv2.1" |
3 | # Released under the MIT license (see packages/COPYING) | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" |
4 | |||
5 | DESCRIPTION = "Unit Testing Library for C++" | ||
6 | HOMEPAGE = "http://cppunit.sourceforge.net/" | ||
7 | LICENSE = "LGPL" | ||
8 | SECTION = "devel" | ||
9 | PR = "r1" | ||
10 | 4 | ||
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/cppunit/cppunit-${PV}.tar.gz" | 5 | SRC_URI = "${SOURCEFORGE_MIRROR}/cppunit/cppunit-${PV}.tar.gz" |
6 | SRC_URI[md5sum] = "bd30e9cf5523cdfc019b94f5e1d7fd19" | ||
7 | SRC_URI[sha256sum] = "ac28a04c8e6c9217d910b0ae7122832d28d9917fa668bcc9e0b8b09acb4ea44a" | ||
12 | 8 | ||
13 | inherit autotools binconfig | 9 | inherit autotools binconfig |
14 | 10 | ||
15 | CXXFLAGS_powerpc += "-lstdc++" | 11 | # Fix a linker ordering problem, we want -ldl *after* -lstdc++ |
16 | 12 | do_configure_append() { | |
17 | 13 | for i in $(find ${S} -name "Makefile") ; do | |
18 | SRC_URI[md5sum] = "bd30e9cf5523cdfc019b94f5e1d7fd19" | 14 | sed -i -e 's:-lm:-lm -ldl:g' $i |
19 | SRC_URI[sha256sum] = "ac28a04c8e6c9217d910b0ae7122832d28d9917fa668bcc9e0b8b09acb4ea44a" | 15 | done |
16 | } | ||