aboutsummaryrefslogtreecommitdiff
path: root/package/libpthread-stubs/libpthread-stubs.mk
blob: 2ee3f1e6479ac3727692681505b3983de885206a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
################################################################################
#
# libpthread-stubs
#
################################################################################

LIBPTHREAD_STUBS_VERSION = 0.3
LIBPTHREAD_STUBS_SOURCE = libpthread-stubs-$(LIBPTHREAD_STUBS_VERSION).tar.bz2
LIBPTHREAD_STUBS_SITE = http://xcb.freedesktop.org/dist
LIBPTHREAD_STUBS_LICENSE = MIT
LIBPTHREAD_STUBS_LICENSE_FILES = COPYING

LIBPTHREAD_STUBS_INSTALL_STAGING = YES

ifeq ($(BR2_PREFER_STATIC_LIB),y)
LIBPTHREAD_STUBS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread"
endif

$(eval $(autotools-package))
$(eval $(host-autotools-package))