mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:17:36 +00:00
Ports: Fix building the ninja port
The build failed because the main symbol has hidden visibility.
This commit is contained in:
parent
509c5c6577
commit
27befa6595
1 changed files with 11 additions and 0 deletions
11
Ports/ninja/patches/visibility.patch
Normal file
11
Ports/ninja/patches/visibility.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
diff -Naur ninja-1.8.2/src/ninja.cc ninja-1.8.2.serenity/src/ninja.cc
|
||||
--- ninja-1.8.2/src/ninja.cc 2017-09-11 03:20:10.000000000 +0200
|
||||
+++ ninja-1.8.2.serenity/src/ninja.cc 2021-04-11 23:54:18.156949715 +0200
|
||||
@@ -1207,6 +1207,7 @@
|
||||
|
||||
} // anonymous namespace
|
||||
|
||||
+__attribute__((visibility("default")))
|
||||
int main(int argc, char** argv) {
|
||||
#if defined(_MSC_VER)
|
||||
// Set a handler to catch crashes not caught by the __try..__except
|
Loading…
Add table
Add a link
Reference in a new issue