summaryrefslogtreecommitdiff
path: root/user/weechat/libintl-fix.patch
blob: a67cb37b6ad19a25bfe3244e128f8da6eeed17ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
libc gettext is never sufficient on musl

--- weechat-1.9/CMakeLists.txt.old	2017-06-25 03:20:52.000000000 -0500
+++ weechat-1.9/CMakeLists.txt	2017-09-13 02:30:43.577284569 -0500
@@ -162,6 +162,7 @@
   find_package(Gettext)
   if(GETTEXT_FOUND)
     add_definitions(-DENABLE_NLS)
+    list(APPEND EXTRA_LIBS intl)
   endif()
 endif()