Skip to content

Commit

Permalink
Fix JSC build on macOS Big Sur
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=218566

Patch by Sergey Rubanov <chi187@gmail.com> on 2020-11-04
Reviewed by David Kilzer.

* Source/cmake/WebKitFindPackage.cmake:

Canonical link: https://commits.webkit.org/231242@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@269410 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
chicoxyzzy authored and webkit-commit-queue committed Nov 5, 2020
1 parent 0534aec commit 8841fe4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions ChangeLog
@@ -1,3 +1,12 @@
2020-11-04 Sergey Rubanov <chi187@gmail.com>

Fix JSC build on macOS Big Sur
https://bugs.webkit.org/show_bug.cgi?id=218566

Reviewed by David Kilzer.

* Source/cmake/WebKitFindPackage.cmake:

2020-11-04 Michael Catanzaro <mcatanzaro@gnome.org>

Add new build option USE(64KB_PAGE_BLOCK)
Expand Down
8 changes: 4 additions & 4 deletions Source/cmake/WebKitFindPackage.cmake
Expand Up @@ -91,10 +91,10 @@ macro(find_package package)

set(ICU_INCLUDE_DIRS ${CMAKE_BINARY_DIR}/ICU/Headers)

# Apple just has a single dylib for ICU
set(ICU_I18N_LIBRARY /usr/lib/libicucore.dylib)
set(ICU_UC_LIBRARY /usr/lib/libicucore.dylib)
set(ICU_DATA_LIBRARY /usr/lib/libicucore.dylib)
# Apple just has a single tbd/dylib for ICU.
find_library(ICU_I18N_LIBRARY icucore)
find_library(ICU_UC_LIBRARY icucore)
find_library(ICU_DATA_LIBRARY icucore)

set(ICU_LIBRARIES ${ICU_UC_LIBRARY})
set(ICU_FOUND ON)
Expand Down

0 comments on commit 8841fe4

Please sign in to comment.