File: 01-remove-rpath.patch

package info (click to toggle)
libarcus 3.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 368 kB
  • sloc: cpp: 1,697; python: 98; makefile: 6; sh: 1
file content (15 lines) | stat: -rw-r--r-- 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Gregor Riepl <onitake@gmail.com>
Description: Remove RPATH from build flags.
  It's not needed on Linux and may cause maintenance problems.
  See: https://wiki.debian.org/RpathIssue
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -63,8 +63,6 @@
 set(ARCUS_VERSION 1.1.0)
 set(ARCUS_SOVERSION 3)
 
-set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
-
 if(BUILD_STATIC)
     add_library(Arcus STATIC ${arcus_SRCS})
     if(NOT WIN32 OR CMAKE_COMPILER_IS_GNUCXX)