aboutsummaryrefslogtreecommitdiffstats
path: root/community/bareos/add-libintl.patch
blob: 4a3af85d11507394184a8994067b0a89d138a171 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Patch from fcolista

diff --git a/core/CMakeLists.txt b/core/CMakeLists.txt
index ae33cd0..2fe8906 100644
--- a/core/CMakeLists.txt
+++ b/core/CMakeLists.txt
@@ -103,6 +103,8 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
    set(HAVE_LINUX_OS 1)
    set(PSCMD "ps -e")
    include_directories(/usr/include/tirpc)
+   link_directories(/usr/lib)
+   link_libraries(intl)
 endif()
 
 if (${CMAKE_SYSTEM_NAME} MATCHES "SunOS")