File: disable-rpath.patch

package info (click to toggle)
libkolab 1.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,540 kB
  • ctags: 1,308
  • sloc: cpp: 11,600; php: 273; sh: 78; makefile: 35; xml: 20; ansic: 15
file content (20 lines) | stat: -rw-r--r-- 793 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: Disable rpath setting by cmake
 If LIB_INSTALL_DIR is set, the root dir LibkolabConfig.cmake is wrong,
 but the php and python modules get built with an rpath.
 This must be disabled.
Author: Paul Klos <kolab@klos2day.nl>
Last-Update: 2013-08-12

Index: libkolab/CMakeLists.txt
===================================================================
--- libkolab.orig/CMakeLists.txt	2015-11-20 21:17:53.297766186 +0100
+++ libkolab/CMakeLists.txt	2015-11-20 21:17:53.293766163 +0100
@@ -9,6 +9,8 @@
 set(Libkolab_MODULE_DIR ${Libkolab_SOURCE_DIR}/cmake/modules)
 set(CMAKE_MODULE_PATH ${Libkolab_MODULE_DIR})
 
+SET(CMAKE_SKIP_RPATH TRUE)
+
 # only available from cmake-2.8.0
 if(${CMAKE_MAJOR_VERSION} EQUAL 2 AND ${CMAKE_MINOR_VERSION} GREATER 7)
     cmake_policy(SET CMP0012 NEW)