]> git.sesse.net Git - vlc/commitdiff
Windows packaging: copy all runtime libraries that are possibly needed
authorRafaël Carré <funman@videolan.org>
Wed, 9 Apr 2014 13:20:40 +0000 (15:20 +0200)
committerRafaël Carré <funman@videolan.org>
Wed, 9 Apr 2014 13:21:01 +0000 (15:21 +0200)
extras/package/win32/package.mak

index 7863036beb93616364449a4fae717a1756bce5a0..4a705847d0e6883fa6749f9ead373957051c50c8 100644 (file)
@@ -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