vlc/vlc-2.1 | branch: master | Rafaël Carré <[email protected]> | 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é <[email protected]>

> 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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to