summaryrefslogtreecommitdiff
path: root/packages/zlib/zlib-native_1.2.3.bb
blob: c7defb6aacd8bee9efacdcc5b498450ecf9fc93e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}