Commit a7336c2a authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32: sign dlls and exe

(cherry picked from commit 7c653e6ab5bcd0ca9f459c015a0c43a998d09c74)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b39439bc
......@@ -109,6 +109,14 @@ package-win-strip: package-win-common
$(OBJCOPY) --add-gnu-debuglink="$(win32_debugdir)/`basename $$i.dbg`" "$$i" ; \
fi ; \
done
if test -n "$(SIGNATURE)"; then \
cd $(win32_destdir); find . -type f \( -name '*$(LIBEXT)' -or -name '*$(EXEEXT)' \) | while read i; \
do if test -n "$$i" ; then \
osslsigncode sign -certs $(SIGNATURE)/cert.cer -key $(SIGNATURE)/videolan.key -n "VLC media player" -i http://www.videolan.org/ -in "$$i" -out "$$i.sign"; \
mv "$$i.sign" "$$i" ; \
fi ; \
done \
fi
package-win32-webplugin-common: package-win-strip
......@@ -176,6 +184,10 @@ package-win32-exe: package-win-strip $(win32_destdir)/NSIS/UAC.dll $(win32_destd
fi; \
eval "$$MAKENSIS $(win32_destdir)/spad.nsi"; \
eval "$$MAKENSIS $(win32_destdir)/vlc.win32.nsi"
if test -n "$(SIGNATURE)"; then \
osslsigncode sign -certs $(SIGNATURE)/cert.cer -key $(SIGNATURE)/videolan.key -n "VLC media player" -i http://www.videolan.org/ -in "$(WINVERSION).exe" -out "$(WINVERSION).exe.sign"; \
mv "$(WINVERSION).exe.sign" "$(WINVERSION).exe" ; \
fi
package-win32-zip: package-win-strip
rm -f -- $(WINVERSION).zip
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment