[Webkit-unassigned] [Bug 66365] [EFL] fail to link with symbol uncompress
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 18 01:55:28 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=66365
--- Comment #9 from Gyuyoung Kim <gyuyoung.kim at samsung.com> 2011-08-18 01:55:28 PST ---
uncompress() function is used by WOFFFileFormat.cpp, which is used by freetype. So, if we need to add zlib dependency, I think we add it when freetype only is enabled.
For example,
= Source/cmake/OptionEfl.cmake =
IF (FONT_BACKEND STREQUAL "freetype")
FIND_PACKAGE(Freetype 9.0 REQUIRED)
FIND_PACKAGE(ZLIB REQUIRED)
SET(WTF_USE_FREETYPE 1)
ADD_DEFINITIONS(-DWTF_USE_FREETYPE=1)
ELSE ()
= Source/WebCore/CMakeListEfl.txt =
IF (WTF_USE_FREETYPE)
LIST(APPEND WebCore_INCLUDE_DIRECTORIES
"${WEBCORE_DIR}/platform/graphics/freetype"
)
LIST(APPEND WebCore_SOURCES
platform/graphics/WOFFFileFormat.cpp
platform/graphics/freetype/FontCacheFreeType.cpp
platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp
platform/graphics/freetype/FontPlatformDataFreeType.cpp
platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp
platform/graphics/freetype/SimpleFontDataFreeType.cpp
)
LIST(APPEND WebCore_LIBRARIES
${ZLIB_LIBRARIES}
)
ENDIF ()
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list