You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/libuv.mk

23 lines
734 B

# This file is part of MXE. See LICENSE.md for licensing information.
PKG := libuv
$(PKG)_WEBSITE := https://libuv.org
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1.30.1
$(PKG)_CHECKSUM := d85566c2c4eae7d8e2c2d27d40e728fea29f9086e98e795c5cdce1a790f43de5
$(PKG)_GH_CONF := libuv/libuv/tags, v
$(PKG)_DEPS := cc
define $(PKG)_BUILD
cd '$(SOURCE_DIR)' && sh autogen.sh
cd '$(BUILD_DIR)' && $(SOURCE_DIR)/configure \
$(MXE_CONFIGURE_OPTS)
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
'$(TARGET)-gcc' \
-W -Wall -Werror -pedantic \
'$(TEST_FILE)' -o '$(PREFIX)/$(TARGET)/bin/test-$(PKG).exe' \
`'$(TARGET)-pkg-config' $(PKG) --libs`
endef