kumquat-buildroot/package/x11r7/xlib_libpthread-stubs/xlib_libpthread-stubs.mk
Arnout Vandecappelle 79afe8e70f xlib_libpthread-stubs: needs -pthread when linking statically
Fixes e.g. http://autobuild.buildroot.net/results/1eaa694263b74313b0c90c510abcb11d490a3773/

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-10 23:45:15 +01:00

21 lines
681 B
Makefile

################################################################################
#
# xlib_libpthread-stubs
#
################################################################################
XLIB_LIBPTHREAD_STUBS_VERSION = 0.3
XLIB_LIBPTHREAD_STUBS_SOURCE = libpthread-stubs-$(XLIB_LIBPTHREAD_STUBS_VERSION).tar.bz2
XLIB_LIBPTHREAD_STUBS_SITE = http://xcb.freedesktop.org/dist/
XLIB_LIBPTHREAD_STUBS_LICENSE = MIT
XLIB_LIBPTHREAD_STUBS_LICENSE_FILES = COPYING
XLIB_LIBPTHREAD_STUBS_INSTALL_STAGING = YES
ifeq ($(BR2_PREFER_STATIC_LIB),y)
XLIB_LIBPTHREAD_STUBS_CONF_ENV += LDFLAGS="$(TARGET_LDFLAGS) -pthread"
endif
$(eval $(autotools-package))
$(eval $(host-autotools-package))