[ovs-dev] [PATCH 1/2] automake: Add AM_LDFLAGS while linking ovs-vswitchd.

Gurucharan Shetty shettyg at nicira.com
Mon Aug 18 14:48:10 UTC 2014


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 <gshetty at 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




More information about the dev mailing list