[vlc-commits] Windows packaging: copy all runtime libraries that are possibly needed
Rafaël Carré
git at videolan.org
Wed Apr 9 15:21:55 CEST 2014
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Apr 9 15:20:40 2014 +0200| [44a5b18d94f227cb16db70657d2b6242397f87bc] | committer: Rafaël Carré
Windows packaging: copy all runtime libraries that are possibly needed
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=44a5b18d94f227cb16db70657d2b6242397f87bc
---
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 7863036..4a70584 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