lvm2-2.02.63-always-make-static-libdm.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. diff -Nuar --exclude '*~' LVM2.2.02.63.orig/daemons/dmeventd/Makefile.in LVM2.2.02.63/daemons/dmeventd/Makefile.in
  2. --- LVM2.2.02.63.orig/daemons/dmeventd/Makefile.in 2010-04-09 14:42:48.000000000 -0700
  3. +++ LVM2.2.02.63/daemons/dmeventd/Makefile.in 2010-04-19 11:53:27.000000000 -0700
  4. @@ -28,11 +28,12 @@
  5. INSTALL_LIB_TARGETS = install_lib_dynamic
  6. LIB_NAME = libdevmapper-event
  7. +LIB_STATIC = $(LIB_NAME).a
  8. +INSTALL_LIB_TARGETS += install_lib_static
  9. +TARGETS += $(LIB_STATIC)
  10. ifeq ("@STATIC_LINK@", "yes")
  11. - LIB_STATIC = $(LIB_NAME).a
  12. - TARGETS += $(LIB_STATIC) dmeventd.static
  13. + TARGETS += dmeventd.static
  14. INSTALL_DMEVENTD_TARGETS += install_dmeventd_static
  15. - INSTALL_LIB_TARGETS += install_lib_static
  16. endif
  17. LIB_VERSION = $(LIB_VERSION_DM)
  18. diff -Nuar --exclude '*~' LVM2.2.02.63.orig/libdm/Makefile.in LVM2.2.02.63/libdm/Makefile.in
  19. --- LVM2.2.02.63.orig/libdm/Makefile.in 2010-04-09 14:42:51.000000000 -0700
  20. +++ LVM2.2.02.63/libdm/Makefile.in 2010-04-19 11:52:20.000000000 -0700
  21. @@ -34,8 +34,8 @@
  22. INCLUDES = -I$(srcdir)/$(interface) -I$(srcdir)
  23. -ifeq ("@STATIC_LINK@", "yes")
  24. LIB_STATIC = $(interface)/libdevmapper.a
  25. +ifeq ("@STATIC_LINK@", "yes")
  26. endif
  27. LIB_SHARED = $(interface)/libdevmapper.$(LIB_SUFFIX)
  28. @@ -63,8 +63,8 @@
  29. INSTALL_TYPE = install_dynamic
  30. -ifeq ("@STATIC_LINK@", "yes")
  31. INSTALL_TYPE += install_static
  32. +ifeq ("@STATIC_LINK@", "yes")
  33. endif
  34. ifeq ("@PKGCONFIG@", "yes")