blob: 342482ab81de5b2fc15558366e40f45a8fd567d0 (
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
25
26
27
28
29
|
# This file is part of MXE.
# See index.html for further information.
PKG := winpthreads
$(PKG)_IGNORE = $(mingw-w64_IGNORE)
$(PKG)_VERSION = $(mingw-w64_VERSION)
$(PKG)_CHECKSUM = $(mingw-w64_CHECKSUM)
$(PKG)_SUBDIR = $(mingw-w64_SUBDIR)
$(PKG)_FILE = $(mingw-w64_FILE)
$(PKG)_URL = $(mingw-w64_URL)
$(PKG)_DEPS :=
$(PKG)_DEPS_i686-w64-mingw32 := gcc
$(PKG)_DEPS_x86_64-w64-mingw32 := gcc
define $(PKG)_UPDATE
echo $(mingw-w64_VERSION)
endef
define $(PKG)_BUILD_mingw-w64
cd '$(1)/mingw-w64-libraries/winpthreads' && ./configure \
$(MXE_CONFIGURE_OPTS)
$(MAKE) -C '$(1)/mingw-w64-libraries/winpthreads' -j '$(JOBS)' install
$(PTHREADS_TEST)
endef
$(PKG)_BUILD_x86_64-w64-mingw32 = $($(PKG)_BUILD_mingw-w64)
$(PKG)_BUILD_i686-w64-mingw32 = $($(PKG)_BUILD_mingw-w64)
|