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

require mingw-w64.inc

SRC_URI += "file://0001-winpthreads-Add-__udivmoddi4.patch;striplevel=3"

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}
}