diff options
-rw-r--r-- | meta/recipes-core/zlib/zlib_1.2.11.bb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-core/zlib/zlib_1.2.11.bb b/meta/recipes-core/zlib/zlib_1.2.11.bb index d4a81820df..ba216f679a 100644 --- a/meta/recipes-core/zlib/zlib_1.2.11.bb +++ b/meta/recipes-core/zlib/zlib_1.2.11.bb | |||
@@ -17,20 +17,22 @@ UPSTREAM_CHECK_URI = "http://zlib.net/" | |||
17 | SRC_URI[md5sum] = "85adef240c5f370b308da8c938951a68" | 17 | SRC_URI[md5sum] = "85adef240c5f370b308da8c938951a68" |
18 | SRC_URI[sha256sum] = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066" | 18 | SRC_URI[sha256sum] = "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066" |
19 | 19 | ||
20 | CFLAGS += "-D_REENTRANT" | ||
21 | |||
20 | RDEPENDS_${PN}-ptest += "make" | 22 | RDEPENDS_${PN}-ptest += "make" |
21 | 23 | ||
22 | inherit ptest | 24 | inherit ptest |
23 | 25 | ||
24 | do_configure (){ | 26 | do_configure() { |
25 | ./configure --prefix=${prefix} --shared --libdir=${libdir} | 27 | uname=GNU ./configure --prefix=${prefix} --shared --libdir=${libdir} |
26 | } | 28 | } |
27 | 29 | ||
28 | do_compile (){ | 30 | do_compile() { |
29 | oe_runmake | 31 | oe_runmake shared |
30 | } | 32 | } |
31 | 33 | ||
32 | do_compile_ptest() { | 34 | do_compile_ptest() { |
33 | oe_runmake static shared | 35 | oe_runmake test |
34 | } | 36 | } |
35 | 37 | ||
36 | do_install() { | 38 | do_install() { |