mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
makefile: avoid creating shared lib for static only build
This commit is contained in:
parent
3fc34ac7ee
commit
95fca3d1d5
@ -1,5 +1,6 @@
|
|||||||
Version 1.02.198 -
|
Version 1.02.198 -
|
||||||
===================
|
===================
|
||||||
|
Fix static only compilation of libdevmapper.a and dmsetup tool.
|
||||||
Use better code for closing opened descriptors when starting dmeventd.
|
Use better code for closing opened descriptors when starting dmeventd.
|
||||||
Correct dmeventd -R for systemd environment.
|
Correct dmeventd -R for systemd environment.
|
||||||
Restart of dmeventd -R checks pid file to detect running dmeventd first.
|
Restart of dmeventd -R checks pid file to detect running dmeventd first.
|
||||||
|
@ -45,9 +45,9 @@ ifeq ("@STATIC_LINK@", "yes")
|
|||||||
LIB_STATIC = $(interface)/libdevmapper.a
|
LIB_STATIC = $(interface)/libdevmapper.a
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ("@SHARED_LINK@", "yes")
|
||||||
LIB_SHARED = $(interface)/libdevmapper.$(LIB_SUFFIX)
|
LIB_SHARED = $(interface)/libdevmapper.$(LIB_SUFFIX)
|
||||||
LIB_VERSION = $(LIB_VERSION_DM)
|
LIB_VERSION = $(LIB_VERSION_DM)
|
||||||
ifeq ("@SHARED_LINK@", "yes")
|
|
||||||
TARGETS = libdevmapper.$(LIB_SUFFIX) libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION) .symver_check
|
TARGETS = libdevmapper.$(LIB_SUFFIX) libdevmapper.$(LIB_SUFFIX).$(LIB_VERSION) .symver_check
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user