Signed-off-by: Bertrand Jacquin <[email protected]>
---
service-win32/Makefile.am | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/service-win32/Makefile.am b/service-win32/Makefile.am
index 4e4f55e..bb7b993 100644
--- a/service-win32/Makefile.am
+++ b/service-win32/Makefile.am
@@ -32,6 +32,14 @@ openvpnserv_SOURCES = \
openvpnserv.c \
service.h service.c
+openvpnserv_LDADD = \
+ ../openvpn-res.o
+
+comma = ,
+
+%.o: %.rc
+ $(WINDRES) -D _VERSION_=$(subst .,$(comma),$(VERSION)),0 -i $< -o $@
+
else
dist_noinst_DATA = \
--
1.7.6