File: 001-multiarch-rpath.patch

package info (click to toggle)
srt 1.5.4-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 5,744 kB
  • sloc: cpp: 52,175; ansic: 5,746; tcl: 1,183; sh: 318; python: 99; makefile: 38
file content (17 lines) | stat: -rw-r--r-- 603 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Federico Ceratto <federico@debian.org>
Subject: support multiarch and disable RPATH
Forwarded: not-needed

Index: git/CMakeLists.txt
===================================================================
--- git.orig/CMakeLists.txt
+++ git/CMakeLists.txt
@@ -1333,6 +1333,8 @@ macro(srt_make_application name)
 		set_target_properties(${name} PROPERTIES ${FORCE_RPATH})
 	endif()
 
+set_target_properties(${name} PROPERTIES SKIP_BUILD_RPATH TRUE)
+
 	target_link_libraries(${name} ${srt_link_library})
 	if (USE_GNUSTL)
 		target_link_libraries(${name} PRIVATE ${GNUSTL_LIBRARIES} ${GNUSTL_LDFLAGS})