mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-06-20 09:47:44 +02:00
Include Carbon when statically linking gettext on macOS
As gettext needs some stuff from Carbon and we don't want to rely on it being pulled in as a side effect.
This commit is contained in:
parent
06fd7ac061
commit
a11a55aeec
@ -27,6 +27,9 @@ if(BUILD_STATIC)
|
|||||||
# gettext is included in libc on many unix systems
|
# gettext is included in libc on many unix systems
|
||||||
if(NOT LIBC_HAS_DGETTEXT)
|
if(NOT LIBC_HAS_DGETTEXT)
|
||||||
set(GETTEXT_LIBRARIES "-Wl,-Bstatic -lintl -liconv -Wl,-Bdynamic")
|
set(GETTEXT_LIBRARIES "-Wl,-Bstatic -lintl -liconv -Wl,-Bdynamic")
|
||||||
|
if(APPLE)
|
||||||
|
set(GETTEXT_LIBRARIES "${GETTEXT_LIBRARIES} -framework Carbon")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(GNUTLS_FOUND)
|
if(GNUTLS_FOUND)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user