summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch')
-rw-r--r--meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch b/meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch
new file mode 100644
index 0000000000..829399c95e
--- /dev/null
+++ b/meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch
@@ -0,0 +1,18 @@
1During installation, the libtool relink attempts to link to -lrpm...
2The problem is that it hasn't been installed yet! So small change causes
3the libtool to instead use the build version.
4
5Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
6
7--- rpm-5.4.0/lib/Makefile.am.orig
8+++ rpm-5.4.0/lib/Makefile.am
9@@ -90,6 +90,9 @@
10 libsql_la_SOURCES = libsql.c
11 libsql_la_LIBADD = librpm.la $(RPMDB_LDADD_COMMON)
12
13+# pkglib libraries needs to have usrlib libraries already installed!
14+install-pkglibLTLIBRARIES: install-usrlibLTLIBRARIES
15+
16 install-data-hook:
17 if !ENABLE_BUILD_LAFILES
18 -for l in $(usrlib_LTLIBRARIES); do \