diff options
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch | 22 |
1 files changed, 22 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..042e412ede --- /dev/null +++ b/meta/recipes-devtools/rpm/rpm/rpm-libsql-fix.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | During installation, the libtool relink attempts to link to -lrpm... | ||
2 | The problem is that it hasn't been installed yet! So small change causes | ||
3 | the libtool to instead use the build version. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Signed-off-by: Mark Hatle <mark.hatle@windriver.com> | ||
8 | |||
9 | Index: rpm-5.4.14/lib/Makefile.am | ||
10 | =================================================================== | ||
11 | --- rpm-5.4.14.orig/lib/Makefile.am | ||
12 | +++ rpm-5.4.14/lib/Makefile.am | ||
13 | @@ -120,6 +120,9 @@ librpm.la: $(librpm_la_OBJECTS) $(librpm | ||
14 | #libsql_la_SOURCES = libsql.c | ||
15 | #libsql_la_LIBADD = librpm.la $(RPMDB_LDADD_COMMON) | ||
16 | |||
17 | +# pkglib libraries needs to have usrlib libraries already installed! | ||
18 | +install-pkglibLTLIBRARIES: install-usrlibLTLIBRARIES | ||
19 | + | ||
20 | install-data-hook: | ||
21 | if !ENABLE_BUILD_LAFILES | ||
22 | -for l in $(usrlib_LTLIBRARIES); do \ | ||