summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorAlin Gabriel Serdean <aserdean@ovn.org>2017-11-06 12:12:03 +0200
committerAlin Gabriel Serdean <aserdean@ovn.org>2017-11-14 06:16:37 +0200
commitb0bf5ef2925c18af4008501aa0717a7752cc5062 (patch)
tree247d643e2320d902d0b42f3d42167fdc5e50ffbc /m4
parentabbb33e38c22e8579351239075c5b632e28078ca (diff)
downloadopenvswitch-b0bf5ef2925c18af4008501aa0717a7752cc5062.tar.gz
installer-windows: Add x64 installer build via command line
Add a new variable to know on which platform we are compiling. Make the msbuild command to be aware of the platform we want to build. Shorter the msbuild parameters from `property:`->`p:`. Change slashes to double slashes so msys does not get confused. Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org> Acked-by: Alin Balutoiu <abalutoiu@cloudbasesolutions.com>
Diffstat (limited to 'm4')
-rw-r--r--m4/openvswitch.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4
index 01d2269db..de4d66ccb 100644
--- a/m4/openvswitch.m4
+++ b/m4/openvswitch.m4
@@ -79,11 +79,14 @@ AC_DEFUN([OVS_CHECK_WIN64],
if (cl) 2>&1 | grep 'x64' >/dev/null 2>&1; then
cl_cv_x64=yes
MSVC64_LDFLAGS=" /MACHINE:X64 "
+ MSVC_PLATFORM="x64"
else
cl_cv_x64=no
MSVC64_LDFLAGS=""
+ MSVC_PLATFORM="x86"
fi])
AC_SUBST([MSVC64_LDFLAGS])
+ AC_SUBST([MSVC_PLATFORM])
])
dnl Checks for WINDOWS.