File: debian-boost-python

package info (click to toggle)
uhd 4.3.0.0%2Bds1-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 175,384 kB
  • sloc: cpp: 271,145; ansic: 103,960; python: 95,906; vhdl: 55,838; tcl: 14,117; xml: 8,535; makefile: 2,706; sh: 2,432; pascal: 230; javascript: 120; csh: 94; asm: 20; perl: 11
file content (19 lines) | stat: -rw-r--r-- 616 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
From 7ac14fbf50ae0abe7b46537f482aef8c5c13b8ab Mon Sep 17 00:00:00 2001
From: "A. Maitland Bottoms" <bottoms@debian.org>
Date: Mon, 31 Aug 2020 18:51:37 -0400
Subject: [PATCH 5/5] debian boost python Debian policy is to avoid RPATH.

---
 host/python/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

--- a/host/python/CMakeLists.txt
+++ b/host/python/CMakeLists.txt
@@ -55,6 +55,7 @@
         SUFFIX ${PYTHON_EXTENSION_SUFFIX}
     )
 endif(WIN32)
+set_target_properties(pyuhd PROPERTIES SKIP_BUILD_RPATH TRUE)
 target_include_directories(pyuhd PUBLIC
     ${PYTHON_NUMPY_INCLUDE_DIR}
     ${UHD_SOURCE_DIR}/lib