aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2011-08-07 12:47:57 +0200
committerBertrand Jacquin <beber@meleeweb.net>2011-08-07 13:06:00 +0200
commit898c93d4361cddde6c90adfbafa4e010460e914f (patch)
tree421259d0a57ef0067e67530c4bc7a5c2f896ea2e
parentWin32: Fill "Details" properties for openvpn.exe (diff)
downloadopenvpn-898c93d4361cddde6c90adfbafa4e010460e914f.tar.gz
Win32: Fill "Details" properties for openvpnserv.exe
-rw-r--r--service-win32/Makefile.am8
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 = \