File: no_rpath.patch

package info (click to toggle)
nng 1.11-3
  • links: PTS
  • area: main
  • in suites: sid
  • size: 5,672 kB
  • sloc: ansic: 77,665; sh: 321; cpp: 62; makefile: 30
file content (19 lines) | stat: -rw-r--r-- 769 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Don't set rpath during build.
 This would overrides the normal library search path.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Forwarded: no
Last-Update: 2020-01-07

---

--- nng-1.2.3.orig/CMakeLists.txt
+++ nng-1.2.3/CMakeLists.txt
@@ -55,7 +55,7 @@ set(CMAKE_C_STANDARD 99)
 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}")
+	#    set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
 endif ("${isSystemDir}" STREQUAL "-1")
 
 set(NNG_DESCRIPTION "High-Performance Scalability Protocols NextGen")