diff options
Diffstat (limited to 'meta-oe/recipes-support/libiodbc/libiodbc_3.52.16.bb')
-rw-r--r-- | meta-oe/recipes-support/libiodbc/libiodbc_3.52.16.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libiodbc/libiodbc_3.52.16.bb b/meta-oe/recipes-support/libiodbc/libiodbc_3.52.16.bb new file mode 100644 index 0000000000..0478ef3403 --- /dev/null +++ b/meta-oe/recipes-support/libiodbc/libiodbc_3.52.16.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | SUMMARY = "iODBC driver manager maintained by OpenLink Software." | ||
2 | |||
3 | DESCRIPTION = "This kit will provide you with everything you need to \ | ||
4 | develop ODBC-compliant applications under Unix without having to pay \ | ||
5 | royalties to other parties. \ | ||
6 | " | ||
7 | |||
8 | HOMEPAGE = "http://www.iodbc.org/" | ||
9 | |||
10 | LICENSE = "LGPL-2.0-only | BSD-2-Clause" | ||
11 | LIC_FILES_CHKSUM = "file://LICENSE.LGPL;md5=8c0138a8701f0e1282f5c8b2c7d39114 \ | ||
12 | file://LICENSE.BSD;md5=5b36348a404e1d65b57df8d33fd6e414 \ | ||
13 | " | ||
14 | |||
15 | SRC_URI = "https://github.com/openlink/iODBC/releases/download/v${PV}/${BP}.tar.gz" | ||
16 | SRC_URI[sha256sum] = "3898b32d07961360f6f2cf36db36036b719a230e476469258a80f32243e845fa" | ||
17 | |||
18 | UPSTREAM_CHECK_URI = "https://github.com/openlink/iODBC/releases" | ||
19 | UPSTREAM_CHECK_REGEX = "(?P<pver>\d+(\.\d+)+)" | ||
20 | |||
21 | inherit autotools | ||
22 | |||
23 | EXTRA_OECONF += " --prefix=/usr/local \ | ||
24 | --includedir=/usr/include/iodbc \ | ||
25 | --with-iodbc-inidir=/etc \ | ||
26 | --enable-odbc3 \ | ||
27 | --enable-pthreads \ | ||
28 | --disable-libodbc \ | ||
29 | --disable-static \ | ||
30 | " | ||
31 | |||
32 | inherit multilib_script | ||
33 | MULTILIB_SCRIPTS = "${PN}:${bindir}/iodbc-config" | ||
34 | |||
35 | # avoid http://errors.yoctoproject.org/Errors/Details/852861/ | ||
36 | CFLAGS += "-std=gnu17" | ||
37 | # http://errors.yoctoproject.org/Errors/Details/853276/ | ||
38 | # libiodbc-3.52.16/iodbcinst/unicode.c:1565:16: error: initialization of 'ucs4_t *' {aka 'unsigned int *'} from incompatible pointer type 'wchar_t *' {aka 'long int *'} [-Wincompatible-pointer-types] | ||
39 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||