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

Martin Storsjö git at videolan.org
Fri Apr 6 11:30:18 CEST 2018


vlc/vlc-3.0 | branch: master | Martin Storsjö <martin at martin.st> | Wed Mar 28 11:12:12 2018 +0300| [ce08bf29486b532d34ce79e5662990a3824991ff] | committer: Jean-Baptiste Kempf

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.

(cherry picked from commit f62cbb1e3e59235c18b50301561dfd0d7adcdbb7)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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 54760ea8c4..91139f05ab 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