2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-28 08:43:26 +00:00
rules_foreign_cc/toolchains/pkgconfig-detectenv.patch
2022-11-09 11:54:39 +00:00

17 lines
562 B
Diff

--- detectenv-msvc.mak 2016-04-11 22:39:26.000000000 +0100
+++ detectenv-msvc.mak 2016-04-11 22:39:26.000000000 +0100
@@ -1,12 +1,6 @@
# Check to see we are configured to build with MSVC (MSDEVDIR, MSVCDIR or
# VCINSTALLDIR) or with the MS Platform SDK (MSSDK or WindowsSDKDir)
-!if !defined(VCINSTALLDIR) && !defined(WINDOWSSDKDIR)
-MSG = ^
-This Makefile is only for Visual Studio 2008 and later.^
-You need to ensure that the Visual Studio Environment is properly set up^
-before running this Makefile.
-!error $(MSG)
-!endif
+
ERRNUL = 2>NUL
_HASH=^#