rpm-libsql-fix.patch 649 B

1234567891011121314151617181920
  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. Upstream-Status: Pending
  5. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
  6. --- rpm-5.4.0/lib/Makefile.am.orig
  7. +++ rpm-5.4.0/lib/Makefile.am
  8. @@ -90,6 +90,9 @@
  9. libsql_la_SOURCES = libsql.c
  10. libsql_la_LIBADD = librpm.la $(RPMDB_LDADD_COMMON)
  11. +# pkglib libraries needs to have usrlib libraries already installed!
  12. +install-pkglibLTLIBRARIES: install-usrlibLTLIBRARIES
  13. +
  14. install-data-hook:
  15. if !ENABLE_BUILD_LAFILES
  16. -for l in $(usrlib_LTLIBRARIES); do \