File: 0001-fix-rpath.patch

package info (click to toggle)
nanomsg 1.1.5%2Bdfsg-1.2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,556 kB
  • sloc: ansic: 23,303; pascal: 352; sh: 79; makefile: 5
file content (19 lines) | stat: -rw-r--r-- 853 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Remove RPATH setting from CMakeLists
Author: Harlan Lieberman-Berg <hlieberman@debian.org>
Forwarded: not-neededIndex: nanomsg/CMakeLists.txt
===================================================================
--- nanomsg.orig/CMakeLists.txt
+++ nanomsg/CMakeLists.txt
@@ -39,12 +39,6 @@ if (POLICY CMP0042)
     cmake_policy (SET CMP0042 NEW)
 endif ()
 
-set (CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
-list (FIND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" isSystemDir)
-if ("${isSystemDir}" STREQUAL "-1")
-    set (CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
-endif ("${isSystemDir}" STREQUAL "-1")
-
 set (NN_DESCRIPTION "High-Performance Scalability Protocols")
 set (ISSUE_REPORT_MSG "Please consider opening an issue at https://github.com/nanomsg/nanomsg")