diff options
| author | Rémy Tassoux <contact@rt2.fr> | 2020-02-14 02:48:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-13 17:48:46 -0800 |
| commit | 76fba5ec78a1cfda26fd4dd50b9f211673ae5e77 (patch) | |
| tree | fb85b68f242f8ccb3c2f965bf992b5c7d5ef84f4 /ports/luajit/001-fixStaticBuild.patch | |
| parent | c819b7f6bf606beb2a10fc143dbba6e4eeed928b (diff) | |
| download | vcpkg-76fba5ec78a1cfda26fd4dd50b9f211673ae5e77.tar.gz vcpkg-76fba5ec78a1cfda26fd4dd50b9f211673ae5e77.zip | |
[luajit] Improve static and dynamic CRT support (#8929)
* [luajit] Improve static and dynamic CRT support
* [luajit] fix CRT linkage always static
* [luajit] Fix luajit.exe static build failure
* [luajit] Remove old patch
* [luajit] Remove old patch
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'ports/luajit/001-fixStaticBuild.patch')
| -rw-r--r-- | ports/luajit/001-fixStaticBuild.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/ports/luajit/001-fixStaticBuild.patch b/ports/luajit/001-fixStaticBuild.patch deleted file mode 100644 index b21991702..000000000 --- a/ports/luajit/001-fixStaticBuild.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff --git a/src/msvcbuild.bat b/src/msvcbuild.bat -index bd0c4c5..95e1cf4 100644 ---- a/src/msvcbuild.bat -+++ b/src/msvcbuild.bat -@@ -67,15 +67,20 @@ buildvm -m folddef -o lj_folddef.h lj_opt_fold.c - @shift - @set LJCOMPILE=%LJCOMPILE% /Zi - @set LJLINK=%LJLINK% /debug -+@set DEBUG=1 - :NODEBUG - @if "%1"=="amalg" goto :AMALGDLL - @if "%1"=="static" goto :STATIC --%LJCOMPILE% /MD /DLUA_BUILD_AS_DLL lj_*.c lib_*.c -+@if "%DEBUG%"=="1" set LJCOMPILE=%LJCOMPILE% /MDd -+@if "%DEBUG%"=="" set LJCOMPILE=%LJCOMPILE% /MD -+%LJCOMPILE% /DLUA_BUILD_AS_DLL lj_*.c lib_*.c - @if errorlevel 1 goto :BAD - %LJLINK% /DLL /out:%LJDLLNAME% lj_*.obj lib_*.obj - @if errorlevel 1 goto :BAD - @goto :MTDLL - :STATIC -+@if "%DEBUG%"=="1" set LJCOMPILE=%LJCOMPILE% /MTd -+@if "%DEBUG%"=="" set LJCOMPILE=%LJCOMPILE% /MT - %LJCOMPILE% lj_*.c lib_*.c - @if errorlevel 1 goto :BAD - %LJLIB% /OUT:%LJLIBNAME% lj_*.obj lib_*.obj |
