summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/release-windows.yml2
-rw-r--r--.github/workflows/windows.yml2
-rw-r--r--github_build.sh2
3 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/release-windows.yml b/.github/workflows/release-windows.yml
index 15b164efc..ac0d90ee6 100644
--- a/.github/workflows/release-windows.yml
+++ b/.github/workflows/release-windows.yml
@@ -23,7 +23,7 @@ jobs:
uses: microsoft/setup-msbuild@v1
- name: premake
run:
- .\premake.bat vs2017
+ .\premake.bat vs2017 --enable-embed-stdlib=true
- name: msbuild
run:
MSBuild.exe slang.sln -v:m -m -property:Configuration=${{matrix.configuration}} -property:Platform=${{matrix.platform}} -property:WindowsTargetPlatformVersion=10.0.19041.0
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index d01a4ba93..4f871a6c0 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -24,7 +24,7 @@ jobs:
uses: microsoft/setup-msbuild@v1
- name: premake
run:
- .\premake.bat vs2017
+ .\premake.bat vs2017 --enable-embed-stdlib=true
- name: build
run:
MSBuild.exe slang.sln -v:m -m -property:Configuration=${{matrix.configuration}} -property:Platform=${{matrix.platform}} -property:WindowsTargetPlatformVersion=10.0.19041.0
diff --git a/github_build.sh b/github_build.sh
index 445b04b19..ff76bf65e 100644
--- a/github_build.sh
+++ b/github_build.sh
@@ -8,7 +8,7 @@ git describe --tags | sed -e "s/\(.*\)/\#define SLANG_TAG_VERSION \"\1\"/" > sla
cat slang-tag-version.h
# Create the makefile
-./premake5 gmake --cc=${CC}
+./premake5 gmake --cc=${CC} --enable-embed-stdlib=true
# Build the configuration
make config=${CONFIGURATION}_x64 -j`nproc`