diff options
Diffstat (limited to 'packages/zlib/zlib-native_1.2.3.bb')
-rw-r--r-- | packages/zlib/zlib-native_1.2.3.bb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/zlib/zlib-native_1.2.3.bb b/packages/zlib/zlib-native_1.2.3.bb index c568358694..c7defb6aac 100644 --- a/packages/zlib/zlib-native_1.2.3.bb +++ b/packages/zlib/zlib-native_1.2.3.bb @@ -1,6 +1,16 @@ SECTION = "libs" require zlib_${PV}.bb +ZLIB_EXTRA = "" inherit native DEPENDS = "libtool-native" FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/zlib-${PV}', '${FILE_DIRNAME}/zlib', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" + + +# darwin hacks +ZLIB_SHARED_build-darwin ="libz.1.2.3.dylib" +do_compile_build-darwin() { + unset LDSHARED + ./configure --prefix=${prefix} --exec_prefix=${exec_prefix} --shared --libdir=${libdir} --includedir=${includedir} + oe_runmake +} |