added my Recipes
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
Subject: [PATCH] do not use libltdl source directory
|
||||
|
||||
Don't use the included libltdl, use the one provided
|
||||
by our libtool instead.
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
|
||||
Signed-off-by: Song.Li <Song.Li@windriver.com>
|
||||
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
||||
---
|
||||
Makefile.am | 1 -
|
||||
configure.ac | 2 --
|
||||
2 files changed, 3 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index 4628401..e8989bf 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -11,7 +11,6 @@ SUBDIRS = \
|
||||
log \
|
||||
lst \
|
||||
ini \
|
||||
- libltdl \
|
||||
odbcinst \
|
||||
DriverManager \
|
||||
exe \
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index e4bcdaf..58aa5c5 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -144,9 +144,7 @@ dnl AC_CONFIG_MACRO_DIR([libltdl/m4])
|
||||
dnl LT_CONFIG_LTDL_DIR([libltdl])
|
||||
dnl LTDL_INIT
|
||||
|
||||
-LT_CONFIG_LTDL_DIR([libltdl])
|
||||
LT_INIT([dlopen])
|
||||
-LTDL_INIT([convenience])
|
||||
|
||||
dnl Substitute INCLTDL and LIBLTDL in the Makefiles
|
||||
AC_SUBST(LTDLINCL)
|
||||
--
|
||||
2.12.3
|
||||
|
||||
@@ -0,0 +1,32 @@
|
||||
SUMMARY = "An Open Source ODBC sub-system"
|
||||
DESCRIPTION = "unixODBC is an Open Source ODBC sub-system and an ODBC SDK \
|
||||
for Linux, Mac OSX, and UNIX."
|
||||
|
||||
HOMEPAGE = "http://www.unixodbc.org/"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d7b37bf80a3df5a65b355433ae36d206"
|
||||
|
||||
DEPENDS = "libtool readline"
|
||||
|
||||
SRC_URI = "https://www.unixodbc.org/unixODBC-${PV}.tar.gz \
|
||||
file://do-not-use-libltdl-source-directory.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "d9e55c8e7118347e3c66c87338856dad1516b490fb7c756c1562a2c267c73b5c"
|
||||
|
||||
UPSTREAM_CHECK_REGEX = "unixODBC-(?P<pver>\d+(\.\d+)+)\.tar"
|
||||
|
||||
inherit autotools-brokensep multilib_header
|
||||
|
||||
S = "${WORKDIR}/unixODBC-${PV}"
|
||||
|
||||
EXTRA_OEMAKE += "LIBS=-lltdl"
|
||||
|
||||
do_configure:prepend() {
|
||||
# old m4 files will cause libtool version don't match
|
||||
rm -rf m4/*
|
||||
rm -fr libltdl
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
oe_multilib_header unixodbc.h unixODBC/config.h unixODBC/unixodbc_conf.h
|
||||
}
|
||||
Reference in New Issue
Block a user