1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Create a symlink, e.g., libdevmapper.so.1.02, in the build dir,

alongside the .so file.  This helps build dynamically linked LVM.

* lib/Makefile.in (VERSIONED_SHLIB): Define.
* make.tmpl.in (TARGETS): Append $(VERSIONED_SHLIB).
($(VERSIONED_SHLIB)): New rule.


Author: Jim Meyering <jim@meyering.net>
This commit is contained in:
Jim Meyering 2007-09-18 13:02:58 +00:00
parent d5f554ab4f
commit 78ecdf8d65
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.23 - Version 1.02.23 -
================================== ==================================
Create e.g., libdevmapper.so.1.02, in build dir alongside the .so file.
Avoid static link failure with some SELinux libraries. Avoid static link failure with some SELinux libraries.
Remove obsolete dmfs code from tree and update INSTALL. Remove obsolete dmfs code from tree and update INSTALL.

View File

@ -41,6 +41,7 @@ ifeq ("@LIB_SUFFIX@","dylib")
else else
LIB_SHARED = $(interface)/libdevmapper.so LIB_SHARED = $(interface)/libdevmapper.so
endif endif
VERSIONED_SHLIB = $(interface)/libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION)
DEFS += -DDEVICE_UID=@DEVICE_UID@ -DDEVICE_GID=@DEVICE_GID@ \ DEFS += -DDEVICE_UID=@DEVICE_UID@ -DDEVICE_GID=@DEVICE_GID@ \
-DDEVICE_MODE=@DEVICE_MODE@ -DDEVICE_MODE=@DEVICE_MODE@