1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +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 16628e6cea
commit c8c4dbb409
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
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.
Remove obsolete dmfs code from tree and update INSTALL.

View File

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