Bug 243868

Summary: [WPE] Cannot build with USE_SYSTEM_MALLOC enabled
Product: WebKit Reporter: Diego Pino <dpino>
Component: New BugsAssignee: Diego Pino <dpino>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=243978

Description Diego Pino 2022-08-11 20:41:58 PDT
Command:

```
$ ./Tools/Script/build-webkit --release --wpe --cmakeargs=-DUSE_SYSTEM_MALLOC=ON
```

Error:

```
CMake Error at Source/cmake/WebKitMacros.cmake:129 (add_executable):
  Target "TestJSC" links to target "WebKit::bmalloc" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?
Call Stack (most recent call first):
  Tools/TestWebKitAPI/PlatformWPE.cmake:126 (WEBKIT_EXECUTABLE_DECLARE)
  Source/cmake/WebKitMacros.cmake:71 (include)
  Tools/TestWebKitAPI/CMakeLists.txt:406 (WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS)
```
Comment 1 Diego Pino 2022-08-11 20:55:05 PDT
Pull request: https://github.com/webkit/webkit/pull/3257
Comment 2 EWS 2022-08-12 03:36:33 PDT
Committed 253375@main (2999a68ccc3b): <https://commits.webkit.org/253375@main>

Reviewed commits have been landed. Closing PR #3257 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-08-12 03:37:23 PDT
<rdar://problem/98559834>