Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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 \ |