From d484001e97ff113e4526bd97661fffcd0372bb34 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Mon, 7 Dec 2020 12:33:50 +0100 Subject: [PATCH] Add comment why unistring is linked dynamically --- cmake/StaticBuild.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmake/StaticBuild.cmake b/cmake/StaticBuild.cmake index beccc5c0..c7c93526 100644 --- a/cmake/StaticBuild.cmake +++ b/cmake/StaticBuild.cmake @@ -43,6 +43,8 @@ if(BUILD_STATIC) set(GETTEXT_LIBRARIES "${GETTEXT_LIBRARIES} -Wl,-Bdynamic") + # FIXME: MSYS2 doesn't include a static version of this library, so + # we'll have to link it dynamically for now if(UNISTRING_LIBRARY) set(GETTEXT_LIBRARIES "${GETTEXT_LIBRARIES} -lunistring") endif() -- 2.39.5