1
0
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:
Zdenek Kabelac 2024-04-26 16:20:59 +02:00
parent 3fc34ac7ee
commit 95fca3d1d5
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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