aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/mingw-w64/nativesdk-mingw-w64-winpthreads_9.0.0.bb
blob: fb7e54ef6189a4796c46cdf148fe0f74d6e248b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
DESCRIPTION = "Winpthreads runtime libraries from MinGW-w64 project"

require mingw-w64.inc

S = "${WORKDIR}/mingw-w64-v${PV}/mingw-w64-libraries/winpthreads"
B = "${WORKDIR}/build-${TARGET_SYS}"

inherit autotools nativesdk

INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = "nativesdk-mingw-w64-runtime virtual/${TARGET_PREFIX}gcc"

do_configure() {
    oe_runconf
}

TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}"

do_install:append() {
    # headers are already installed by mingw-w64-headers
    rm -rf ${D}${includedir}
}