[vlc-commits] Windows packaging: copy all runtime libraries that are possibly needed

Rafaël Carré git at videolan.org
Sun Sep 21 18:38:27 CEST 2014


vlc/vlc-2.1 | branch: master | Rafaël Carré <funman at videolan.org> | Wed Apr  9 15:20:40 2014 +0200| [4d726ded91b68b650fad1a5abaac8db439daa2be] | committer: Rafaël Carré

Windows packaging: copy all runtime libraries that are possibly needed

(cherry picked from commit 44a5b18d94f227cb16db70657d2b6242397f87bc)
Signed-off-by: Rafaël Carré <funman at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.1.git/?a=commit;h=4d726ded91b68b650fad1a5abaac8db439daa2be
---

 extras/package/win32/package.mak |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak
index 36e7c8c..0e6e44d 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -66,7 +66,10 @@ endif
 	IFS=':' ;\
 	for x in $$library_path_list ;\
 	do \
-		cp "$$x/libstdc++-6.dll" "$$x/libgcc_s_sjlj-1.dll" "$(win32_destdir)/" ; true ;\
+		test -f "$$x/libstdc++-6.dll" && cp "$$x/libstdc++-6.dll" "$(win32_destdir)/" ; \
+		test -f "$$x/libgcc_s_sjlj-1.dll" && cp "$$x/libgcc_s_sjlj-1.dll" "$(win32_destdir)/" ; \
+		test -f "$$x/libwinpthread-1.dll" && cp "$$x/libwinpthread-1.dll" "$(win32_destdir)/" ; \
+		test -f "$$x/../bin/libwinpthread-1.dll" && cp "$$x/../bin/libwinpthread-1.dll" "$(win32_destdir)/" ; \
 	done
 
 # SDK



More information about the vlc-commits mailing list