]> git.proxmox.com Git - mirror_corosync.git/commit
Don't link with libz when not needed v2.3.5
authorJan Friesse <jfriesse@redhat.com>
Mon, 22 Jun 2015 14:00:07 +0000 (16:00 +0200)
committerJan Friesse <jfriesse@redhat.com>
Mon, 22 Jun 2015 14:03:28 +0000 (16:03 +0200)
commit145f9279d12cf0b981494bbd4dabbc9c3641378e
treef3a10be552a1915c536cd91b9827eea7c2736e9a
parentaabbace625b3c68332b4356887378fca81f8f387
Don't link with libz when not needed

Commit 8cc8e513633a1a8b12c416e32fb5362fcf4d65dd added check for libz
resulting in linking with lib z for all libraries. This is not expected
behavior. Patch solves it by making defining automake conditional so
cpghum is linked only if libz is available and LIBS variable is not
modified at all.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
configure.ac
test/Makefile.am