Skip to content

Commit 6574003

Browse files
committed
ci: static link AppVeyor binaries
1 parent 7c49d43 commit 6574003

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

premake5.lua

+6-1
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,15 @@ filter "configurations:Release"
133133
optimize "Full"
134134

135135
filter {"configurations:Release"}
136-
if os.getenv("CI") == true then
136+
if os.getenv("CI") ~= nil then
137137
flags { "LinkTimeOptimization" }
138138
end
139139

140+
filter {"configurations:Release", "system:linux"}
141+
if os.getenv("CI") ~= nil then
142+
linkoptions { "-static-libstdc++" }
143+
end
144+
140145
include "premake/chdr.lua"
141146
include "premake/flac.lua"
142147
include "premake/glad.lua"

0 commit comments

Comments
 (0)