libftdi: add explicit dependencies for host variant
[buildroot-gz.git] / package / libmemcached / libmemcached.mk
bloba5ea4f5d3e746b9f4d7a2607e52f54615641b88a
1 ################################################################################
3 # libmemcached
5 ################################################################################
7 LIBMEMCACHED_VERSION_MAJOR = 1.0
8 LIBMEMCACHED_VERSION = $(LIBMEMCACHED_VERSION_MAJOR).18
9 LIBMEMCACHED_SITE = http://launchpad.net/libmemcached/$(LIBMEMCACHED_VERSION_MAJOR)/$(LIBMEMCACHED_VERSION)/+download
10 LIBMEMCACHED_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99' \
11 ax_cv_check_cflags__Werror__fmudflapth=no \
12 ax_cv_check_cxxflags__Werror__fmudflapth=no
13 LIBMEMCACHED_CONF_OPTS = --disable-dtrace
14 LIBMEMCACHED_INSTALL_STAGING = YES
15 LIBMEMCACHED_DEPENDENCIES = $(if $(BR2_PACKAGE_LIBEVENT),libevent)
16 # For 0001-disable-tests.patch and 0002-disable-sanitizer.patch
17 LIBMEMCACHED_AUTORECONF = YES
18 LIBMEMCACHED_LICENSE = BSD-3c
19 LIBMEMCACHED_LICENSE_FILES = COPYING
21 # Help libmemcached to understand that -fPIE and -pie should not be
22 # used when linking statically.
23 ifeq ($(BR2_STATIC_LIBS),y)
24 LIBMEMCACHED_CONF_ENV += \
25 ax_cv_check_cflags__Werror__fPIE=no \
26 ax_cv_check_cflags__Werror__pie=no \
27 ax_cv_check_cxxflags__Werror__fPIE=no \
28 ax_cv_check_cxxflags__Werror__pie=no
29 endif
31 $(eval $(autotools-package))