We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ceafd40 commit c497cc2Copy full SHA for c497cc2
make/detect_platform.lua
@@ -33,11 +33,11 @@ elseif platform.os == 'linux' then
33
elseif lm.platform == "linux-x64" then
34
-- Target glibc 2.17 for x86_64
35
lm.flags = { '-target', 'x86_64-linux-gnu.2.17' }
36
- lm.ldflags = { '-target', 'x86_64-linux-gnu.2.17' }
+ lm.ldflags = { '-target', 'x86_64-linux-gnu.2.17', '-lc++' }
37
elseif lm.platform == "linux-arm64" then
38
-- Target glibc 2.17 for aarch64
39
lm.flags = { '-target', 'aarch64-linux-gnu.2.17' }
40
- lm.ldflags = { '-target', 'aarch64-linux-gnu.2.17' }
+ lm.ldflags = { '-target', 'aarch64-linux-gnu.2.17', '-lc++' }
41
else
42
error "unknown platform"
43
end
0 commit comments