Static link to libfreetype.a/libfontconfig.a
parent
7aed9134a4
commit
0c738bc9d7
|
|
@ -9,7 +9,11 @@ else (USESYSTEMLIBS)
|
|||
use_prebuilt_binary(freetype)
|
||||
set(FREETYPE_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
|
||||
set(FREETYPE_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/freetype2) #<FS:ND/> Also add freetype2 to search dir, or some includes will fail.
|
||||
set(FREETYPE_LIBRARIES freetype)
|
||||
# <FS:ND> Linux links this via UI.cmake
|
||||
if( NOT LINUX )
|
||||
set(FREETYPE_LIBRARIES freetype)
|
||||
endif()
|
||||
# </FS:ND>
|
||||
endif (USESYSTEMLIBS)
|
||||
|
||||
link_directories(${FREETYPE_LIBRARY_DIRS})
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ else (USESYSTEMLIBS)
|
|||
if (LINUX)
|
||||
set(UI_LIB_NAMES
|
||||
libfltk.a
|
||||
freetype
|
||||
libfreetype.a
|
||||
)
|
||||
|
||||
foreach(libname ${UI_LIB_NAMES})
|
||||
|
|
|
|||
|
|
@ -77,7 +77,8 @@ if (LINUX)
|
|||
${LLXML_LIBRARIES}
|
||||
${UI_LIBRARIES} # for GTK
|
||||
${SDL_LIBRARY}
|
||||
fontconfig # For FCInit and other FC* functions.
|
||||
libfontconfig.a # For FCInit and other FC* functions.
|
||||
libfreetype.a
|
||||
)
|
||||
|
||||
list(APPEND viewer_SOURCE_FILES
|
||||
|
|
|
|||
|
|
@ -2020,7 +2020,7 @@ class LinuxManifest(ViewerManifest):
|
|||
# particular wildcard specification gets us exactly what the
|
||||
# previous call did, without having to explicitly state the
|
||||
# version number.
|
||||
self.path("libfontconfig.so.*.*")
|
||||
#self.path("libfontconfig.so.*.*")
|
||||
|
||||
self.fs_try_path("libjemalloc.so*")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue