Commit d73105839 (netdev-dpdk: Move to DPDK 1.7.0) added
'vswitchd_ovs_vswitchd_LDFLAGS' in acinclude.m4. This caused the
created Makefile to use 'vswitchd_ovs_vswitchd_LINK' without
including 'AM_LDFLAGS'. This causes failure while building ovs-vswitchd
with external libraries (ex: ovs-vswitchd on Windows with openssl.)

This commit adds 'AM_LDFLAGS' to the new 'vswitchd_ovs_vswitchd_LDFLAGS'.

Signed-off-by: Gurucharan Shetty <gshe...@nicira.com>
---
 vswitchd/automake.mk |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/vswitchd/automake.mk b/vswitchd/automake.mk
index a09605f..3299ff5 100644
--- a/vswitchd/automake.mk
+++ b/vswitchd/automake.mk
@@ -3,6 +3,8 @@ man_MANS += vswitchd/ovs-vswitchd.8
 DISTCLEANFILES += \
        vswitchd/ovs-vswitchd.8
 
+vswitchd_ovs_vswitchd_LDFLAGS += $(AM_LDFLAGS)
+
 vswitchd_ovs_vswitchd_SOURCES = \
        vswitchd/bridge.c \
        vswitchd/bridge.h \
-- 
1.7.9.5

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to