]> git.proxmox.com Git - ovs.git/commitdiff
build-windows: Propagate PACKAGE_VERSION to the MSI
authorAlin Serdean <aserdean@cloudbasesolutions.com>
Tue, 6 Dec 2016 02:58:30 +0000 (02:58 +0000)
committerGurucharan Shetty <guru@ovn.org>
Wed, 21 Dec 2016 23:12:57 +0000 (15:12 -0800)
This patch propagates the automake variable PACKAGE_VERSION when building
the MSI via msys.

Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Acked-by: Sairam Venugopal <vsairam@vmware.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
windows/automake.mk

index fa610ec667c01e876fb059ba82378275a341e1c8..db2b616390db261685588e5a90559fc78416c79d 100644 (file)
@@ -35,7 +35,7 @@ windows_installer: all
        cp -f $(top_srcdir)/datapath-windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.cat windows/ovs-windows-installer/Driver/Win8.1/ovsext.cat
        cp -f $(top_srcdir)/datapath-windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.inf windows/ovs-windows-installer/Driver/Win8.1/ovsext.inf
        cp -f $(top_srcdir)/datapath-windows/x64/Win8.1$(VSTUDIO_CONFIG)/package/ovsext.sys windows/ovs-windows-installer/Driver/Win8.1/ovsext.sys
-       MSBuild.exe windows/ovs-windows-installer.sln /target:Build /property:Configuration="Release"
+       MSBuild.exe windows/ovs-windows-installer.sln /target:Build /property:Configuration="Release" /property:Version="$(PACKAGE_VERSION)"
 
 EXTRA_DIST += \
        windows/.gitignore \