[Devel] [PATCH 6/8] lib/Makefile.am: use $(UTIL_LIBS)

Kir Kolyshkin kir at openvz.org
Tue Jun 2 15:50:24 PDT 2015


Don't hardcode library name as in configure.ac we check for it
and define the proper variable.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 lib/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Makefile.am b/lib/Makefile.am
index 328f864..5d670d9 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -71,5 +71,5 @@ libvzctl2_la_SOURCES =  bitmap.c \
 # 5. If any interfaces have been added since the last public release, then increment age.
 # 6. If any interfaces have been removed since the last public release, then set age to 0. 
 libvzctl2_la_LDFLAGS = -version-info 2:1:0 -Wl,--version-script=version.map
-libvzctl2_la_LIBADD = $(XML_LIBS) -lutil $(PLOOP_LIBS) -lcrypt $(UUID_LIBS)
+libvzctl2_la_LIBADD = $(XML_LIBS) $(UTIL_LIBS) $(PLOOP_LIBS) -lcrypt $(UUID_LIBS)
 
-- 
1.9.3




More information about the Devel mailing list