summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2017-07-31 23:56:58 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2017-08-01 11:53:13 +0200
commit57727bb4ebffb30cf21b151cc2f66bfd7d924a81 (patch)
tree8ea51d287ce5cdc44e1f6cd9fd7f1b00df647991 /configure
parent2593777f65da806e24d9b1a2c9cab25ff59c5351 (diff)
downloadlvm2-57727bb4ebffb30cf21b151cc2f66bfd7d924a81.tar.gz
makefiles: RT_LIB
Link -lrt directly only with libdevmapper. All other users get dependency transiently.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index e1ae0e884..8396e3ee3 100755
--- a/configure
+++ b/configure
@@ -3170,6 +3170,7 @@ fi
case "$host_os" in
linux*)
CLDFLAGS="$CLDFLAGS -Wl,--version-script,.export.sym"
+ # equivalent to -rdynamic
ELDFLAGS="-Wl,--export-dynamic"
# FIXME Generate list and use --dynamic-list=.dlopen.sym
CLDWHOLEARCHIVE="-Wl,-whole-archive"
@@ -14363,7 +14364,6 @@ fi
$as_echo "#define HAVE_REALTIME 1" >>confdefs.h
- LIBS="-lrt $LIBS"
RT_LIB="-lrt"
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling realtime clock" >&5