[vlc-commits] package: win32: Make package-win-sdk depend on package-win-install

Martin Storsjö git at videolan.org
Wed Mar 28 10:15:15 CEST 2018


vlc | branch: master | Martin Storsjö <martin at martin.st> | Wed Mar 28 11:12:12 2018 +0300| [f62cbb1e3e59235c18b50301561dfd0d7adcdbb7] | committer: Martin Storsjö

package: win32: Make package-win-sdk depend on package-win-install

The package-win-sdk target assumes that an install already has been
done and that $(prefix)/include exists.

This fixes race conditions if building package-win-common with
a parallel make.

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

 extras/package/win32/package.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak
index c65bef4ce6..0d7e57bde6 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -26,7 +26,7 @@ package-win-install:
 	$(MAKE) install
 	touch $@
 
-package-win-sdk:
+package-win-sdk: package-win-install
 	mkdir -p "$(win32_destdir)/sdk/lib/"
 	cp -r $(prefix)/include "$(win32_destdir)/sdk"
 	cp -r $(prefix)/lib/pkgconfig "$(win32_destdir)/sdk/lib"



More information about the vlc-commits mailing list