From: Pierre Ossman Date: Wed, 9 Jan 2019 09:30:26 +0000 (+0100) Subject: Include libuuid in static builds X-Git-Tag: v1.9.90~44 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=18ba39cb710f3d97745dfb6a5150f99c41ad3bf0;p=tigervnc.git Include libuuid in static builds Modern fontconfig needs it, so make sure it is included. --- diff --git a/cmake/StaticBuild.cmake b/cmake/StaticBuild.cmake index a9943098..38177a1c 100644 --- a/cmake/StaticBuild.cmake +++ b/cmake/StaticBuild.cmake @@ -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")