diff --git a/WHATS_NEW b/WHATS_NEW index d19231d66..90c4ef32a 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.91 - =================================== + Add missing deps for lvm2api for rebuild when lvm-internal is changed. Fix resource leaks for failing allocation of formats (lvm1/2,pool). Release allocated resources in error path for composite_filter_create(). Do not use lstat() results when failed in _rm_link(). diff --git a/liblvm/Makefile.in b/liblvm/Makefile.in index ec9522bca..8ae4661fb 100644 --- a/liblvm/Makefile.in +++ b/liblvm/Makefile.in @@ -1,6 +1,6 @@ # # Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved. -# Copyright (C) 2004-2010 Red Hat, Inc. All rights reserved. +# Copyright (C) 2004-2012 Red Hat, Inc. All rights reserved. # # This file is part of LVM2. # @@ -37,6 +37,8 @@ CLEAN_TARGETS += liblvm.cflow $(LIB_NAME).a EXPORTED_HEADER = $(srcdir)/lvm2app.h EXPORTED_FN_PREFIX = lvm +LDDEPS += $(top_builddir)/lib/liblvm-internal.a + include $(top_builddir)/make.tmpl LIBS += $(LVMINTERNAL_LIBS) -ldevmapper