cannelloni: needs dynamic library
[buildroot-gz.git] / package / unixodbc / unixodbc.mk
blob067c1ca66366c9675b619c913f6ffb918589f1b5
1 ################################################################################
3 # unixodbc
5 ################################################################################
7 UNIXODBC_VERSION = 2.3.2
8 UNIXODBC_SOURCE = unixODBC-$(UNIXODBC_VERSION).tar.gz
9 UNIXODBC_SITE = ftp://ftp.unixodbc.org/pub/unixODBC
10 UNIXODBC_INSTALL_STAGING = YES
11 UNIXODBC_LICENSE = LGPLv2.1+ (library), GPLv2+ (programs)
12 UNIXODBC_LICENSE_FILES = COPYING exe/COPYING
14 UNIXODBC_CONF_OPTS = --enable-drivers --enable-driver-conf
16 ifeq ($(BR2_PACKAGE_LIBICONV),y)
17 UNIXODBC_CONF_OPTS += --enable-iconv
18 UNIXODBC_DEPENDENCIES += libiconv
19 else
20 UNIXODBC_CONF_OPTS += --disable-iconv
21 endif
23 ifeq ($(BR2_PACKAGE_READLINE),y)
24 UNIXODBC_CONF_OPTS += --enable-readline
25 UNIXODBC_DEPENDENCIES += readline
26 else
27 UNIXODBC_CONF_OPTS += --disable-readline
28 endif
30 $(eval $(autotools-package))