]> source.dussan.org Git - tigervnc.git/commitdiff
Include libuuid in static builds
authorPierre Ossman <ossman@cendio.se>
Wed, 9 Jan 2019 09:30:26 +0000 (10:30 +0100)
committerPierre Ossman <ossman@cendio.se>
Wed, 9 Jan 2019 09:30:26 +0000 (10:30 +0100)
Modern fontconfig needs it, so make sure it is included.

cmake/StaticBuild.cmake

index a99430983caae35ece99fedab71e87d650fa82c3..38177a1c9ba60840851f51fad7865398fc014724 100644 (file)
@@ -88,7 +88,7 @@ if(BUILD_STATIC)
       if(${CMAKE_SYSTEM_NAME} MATCHES "SunOS")
         set(FLTK_LIBRARIES "${FLTK_LIBRARIES} ${X11_Xcursor_LIB} ${X11_Xfixes_LIB} -Wl,-Bstatic -lXft -Wl,-Bdynamic -lfontconfig -lXrender -lXext -R/usr/sfw/lib -L=/usr/sfw/lib -lfreetype -lsocket -lnsl")
       else()
-        set(FLTK_LIBRARIES "${FLTK_LIBRARIES} -Wl,-Bstatic -lXcursor -lXfixes -lXft -lfontconfig -lexpat -lfreetype -lpng -lbz2 -lXrender -lXext -lXinerama -Wl,-Bdynamic")
+        set(FLTK_LIBRARIES "${FLTK_LIBRARIES} -Wl,-Bstatic -lXcursor -lXfixes -lXft -lfontconfig -lexpat -lfreetype -lpng -lbz2 -luuid -lXrender -lXext -lXinerama -Wl,-Bdynamic")
       endif()
 
       set(FLTK_LIBRARIES "${FLTK_LIBRARIES} -lX11")