summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-28 17:01:00 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-28 17:01:00 +0100
commit7f8ab548d375051edb54fed9bafd8996f2f3fb33 (patch)
tree6e18ce4c9f1125e395470a9d6573f221a37795a3 /CMakeLists.txt
parentfaf96d9f2a7ab25de198b1fa555b2985237de2c0 (diff)
downloadrspamd-7f8ab548d375051edb54fed9bafd8996f2f3fb33.tar.gz
rspamd-7f8ab548d375051edb54fed9bafd8996f2f3fb33.zip
Another round of linking issues fixup.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7c54841a7..678d110ac 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -93,7 +93,7 @@ ENDIF(NOT WWWDIR)
IF(NOT LIBDIR)
SET(RSPAMD_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib/rspamd")
ELSE(NOT LIBDIR)
- SET(RSPAMD_LIBDIR "${LIBDIR}/rspamd")
+ SET(RSPAMD_LIBDIR "${LIBDIR}")
ENDIF(NOT LIBDIR)
SET(CMAKE_MACOSX_RPATH ON)
SET(CMAKE_INSTALL_RPATH "${RSPAMD_LIBDIR}")
@@ -406,7 +406,7 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
LIST(APPEND CMAKE_REQUIRED_LIBRARIES crypto)
SET(CMAKE_VERBOSE_MAKEFILE ON)
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE)
- SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib:${CMAKE_INSTALL_PREFIX}/${LIBDIR}:${RSPAMD_LIBDIR}")
+ SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib:${RSPAMD_LIBDIR}")
ENDIF(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
# Now find libraries and headers