mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05: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
Notes:
sideshowbarker
2024-07-18 20:21:36 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/27befa6595c Pull-request: https://github.com/SerenityOS/serenity/pull/6253
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
Reference in a new issue