When building corosync against older libraries already installed on the system, the corosync-notifyd application uses the wrong Makefile.am commands. This results in the SNMPLIBS (which includes -L/usr/lib64) coming before the proper LDADD flags. The result is an inability to compile on an already existing installation.
Signed-off-by: Steven Dake <[email protected]> --- tools/Makefile.am | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/Makefile.am b/tools/Makefile.am index 6dbd898..1b598c3 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -54,10 +54,10 @@ corosync_quorumtool_LDADD = -lconfdb -lcfg -lquorum \ -lvotequorum -lcoroipcc ../lcr/liblcr.a corosync_quorumtool_LDFLAGS = -L../lib -corosync_notifyd_LDADD = -L../lib -corosync_notifyd_LDFLAGS = -lcfg -lconfdb ../lcr/liblcr.a -lcoroipcc \ +corosync_notifyd_LDADD = -lcfg -lconfdb ../lcr/liblcr.a -lcoroipcc \ ../exec/coropoll.o $(DBUS_LIBS) $(SNMPLIBS) \ -lquorum +corosync_notifyd_LDFLAGS = -L../lib corosync_notifyd_CPPFLAGS = $(DBUS_CFLAGS) -- 1.7.4 _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
